freemyipod r412 - Code Review

Jump to: navigation, search
Repository:freemyipod
Revision:r411‎ | r412 | r413 >
Date:16:28, 7 January 2011
Author:farthen
Status:new
Tags:
Comment:
embios.py: Fix a silly bug in usage()
Modified paths:
  • /embios/trunk/tools/embios.py (modified) (history)

Diff [purge]

Index: embios/trunk/tools/embios.py
@@ -76,7 +76,7 @@
7777 for arg in doc[function]['args']:
7878 logger.log("<" + arg + "> ")
7979 if doc[function]['kwargs']:
80 - for kwvalue, kwarg in enumerate(doc[function]['kwargs']):
 80+ for kwarg, kwvalue in doc[function]['kwargs'].iteritems():
8181 logger.log("[" + kwarg + " = " + str(kwvalue) + "] ")
8282 if doc[function]['varargs']:
8383 logger.log("<db1> ... <dbN>")