[maemo-commits] [maemo-commits] r8557 - projects/haf/trunk/python-xml/xml/utils

From: subversion at stage.maemo.org subversion at stage.maemo.org
Date: Fri Dec 1 23:06:36 EET 2006
Author: osantana
Date: 2006-12-01 23:06:33 +0200 (Fri, 01 Dec 2006)
New Revision: 8557

Removed:
   projects/haf/trunk/python-xml/xml/utils/boolean.py
Log:
removing the last commit

Deleted: projects/haf/trunk/python-xml/xml/utils/boolean.py
===================================================================
--- projects/haf/trunk/python-xml/xml/utils/boolean.py	2006-12-01 20:54:47 UTC (rev 8556)
+++ projects/haf/trunk/python-xml/xml/utils/boolean.py	2006-12-01 21:06:33 UTC (rev 8557)
@@ -1,14 +0,0 @@
-
-true = True
-false = False
-
-BooleanType = bool
-
-def BooleanValue(obj, func):
-    if isinstance(obj, bool):
-        return obj
-    if isinstance(obj, basestring):
-        return bool(func(obj))
-    return bool(obj)
-
-IsBooleanType = lambda obj: isinstance(obj, bool)


More information about the maemo-commits mailing list