freemyipod r318 - Code Review

Jump to: navigation, search
Repository:freemyipod
Revision:r317‎ | r318 | r319 >
Date:12:02, 6 December 2010
Author:theseven
Status:new
Tags:
Comment:
embios.py: Fix getprocinfo()
Modified paths:
  • /embios/trunk/tools/embios.py (modified) (history)

Diff [purge]

Index: embios/trunk/tools/embios.py
@@ -487,9 +487,9 @@
488488 self.logger.info(" ")
489489 for register in range(registerrange, 16, 4):
490490 registerrepr = "r"+str(register)
491 - self.logger.info("{:3s}: 0x{:08X} ".format(registerrepr, thread.regs["r"+str(register)]))
 491+ self.logger.info("{0:3s}: 0x{1:08X} ".format(registerrepr, thread.regs["r"+str(register)]))
492492 self.logger.info("\n")
493 - self.logger.info(" cpsr: 0x{:08X}".format(thread.regs.cpsr))
 493+ self.logger.info(" cpsr: 0x{0:08X}".format(thread.regs.cpsr))
494494 self.logger.info("\n")
495495
496496 @command