freemyipod r586 - Code Review

Jump to: navigation, search
Repository:freemyipod
Revision:r585‎ | r586 | r587 >
Date:13:41, 12 February 2011
Author:farthen
Status:new
Tags:
Comment:
emCORE tools: misc.py: fix leftover
Modified paths:
  • /emcore/trunk/tools/misc.py (modified) (history)

Diff [purge]

Index: emcore/trunk/tools/misc.py
@@ -345,8 +345,6 @@
346346 """
347347 Converts quite everything into bool.
348348 """
349 - try: long
350 - except NameError: long = int
351349 if type(something).__name__ in ("bool", "NoneType"):
352350 return something
353351 elif type(something).__name__ in ("int", "long"):