freemyipod r780 - Code Review

Jump to: navigation, search
Repository:freemyipod
Revision:r779‎ | r780 | r781 >
Date:00:55, 12 November 2011
Author:user890104
Status:new
Tags:
Comment:
libemcore: replace tabs with spaces to make Python on Windows stop complaining
Modified paths:
  • /emcore/trunk/tools/libemcore.py (modified) (history)

Diff [purge]

Index: emcore/trunk/tools/libemcore.py
@@ -605,7 +605,7 @@
606606 malloc = False
607607 try:
608608 self.write(tempaddr, bbt)
609 - self.disk_unmount(0)
 609+ self.disk_unmount(0)
610610 sector = 0
611611 count = 1
612612 offset = 0
@@ -618,8 +618,8 @@
619619 sector = bbtheader[5 +i]
620620 count = 1
621621 self.ipodclassic_hddaccess(1, sector, count, tempaddr + offset)
622 - self.ipodclassic_reloadbbt()
623 - self.disk_mount(0)
 622+ self.ipodclassic_reloadbbt()
 623+ self.disk_mount(0)
624624 finally:
625625 if malloc == True:
626626 self.free(tempaddr)