freemyipod r487 - Code Review

Jump to: navigation, search
Repository:freemyipod
Revision:r486‎ | r487 | r488 >
Date:19:11, 22 January 2011
Author:theseven
Status:new
Tags:
Comment:
libemcore.py: Oops, another typo...
Modified paths:
  • /emcore/trunk/tools/libemcore.py (modified) (history)

Diff [purge]

Index: emcore/trunk/tools/libemcore.py
@@ -655,7 +655,7 @@
656656 @command(timeout = 30000)
657657 def file_open(self, filename, mode):
658658 """ Opens a file and returns the handle """
659 - self.logger.debug("Opening remote file %s with mode %s\n" % (filename, mode))
 659+ self.logger.debug("Opening remote file %s with mode %d\n" % (filename, mode))
660660 result = self.lib.monitorcommand(struct.pack("IIII%dsB" % len(filename), 30, mode, 0, 0, filename, 0), "III", ("fd", None, None))
661661 if result.fd > 0x80000000:
662662 raise DeviceError("file_open(filename=\"%s\", mode=0x%X) failed with RC=0x%08X, errno=%d" % (filename, mode, result.fd, self.errno()))