freemyipod r795 - Code Review

Jump to: navigation, search
Repository:freemyipod
Revision:r794‎ | r795 | r796 >
Date:14:22, 19 November 2011
Author:theseven
Status:new
Tags:
Comment:
ipodcrypt.py: Python 3 compatibility fix (once again, part of it was accidentally reverted)
Modified paths:
  • /emcore/trunk/tools/ipodcrypt.py (modified) (history)

Diff [purge]

Index: emcore/trunk/tools/ipodcrypt.py
@@ -27,19 +27,19 @@
2828
2929
3030 def usage():
31 - print ""
32 - print "Please provide a command and (if needed) parameters as command line arguments"
33 - print ""
34 - print "Available commands:"
35 - print " s5l8701-cryptdfu <infile> <outfile>"
36 - print " s5l8701-decryptdfu <infile> <outfile>"
37 - print " s5l8701-cryptfirmware <infile> <outfile>"
38 - print " s5l8701-decryptfirmware <infile> <outfile>"
39 - print " s5l8702-cryptnor <infile> <outfile>"
40 - print " s5l8702-decryptnor <infile> <outfile>"
41 - print " s5l8702-genpwnage <infile> <outfile>"
42 - print " s5l8702-genpwnage800 <infile> <outfile>"
43 - print " s5l8720-genpwnage <infile> <outfile>"
 31+ print("")
 32+ print("Please provide a command and (if needed) parameters as command line arguments")
 33+ print("")
 34+ print("Available commands:")
 35+ print(" s5l8701-cryptdfu <infile> <outfile>")
 36+ print(" s5l8701-decryptdfu <infile> <outfile>")
 37+ print(" s5l8701-cryptfirmware <infile> <outfile>")
 38+ print(" s5l8701-decryptfirmware <infile> <outfile>")
 39+ print(" s5l8702-cryptnor <infile> <outfile>")
 40+ print(" s5l8702-decryptnor <infile> <outfile>")
 41+ print(" s5l8702-genpwnage <infile> <outfile>")
 42+ print(" s5l8702-genpwnage800 <infile> <outfile>")
 43+ print(" s5l8720-genpwnage <infile> <outfile>")
4444 exit(2)
4545
4646