[pkg-fso-commits] [SCM] FSO frameworkd Debian packaging branch, master, updated. milestone4-368-g700ab82

Michael 'Mickey' Lauer mickey at vanille-media.de
Mon Feb 2 18:52:03 UTC 2009


The following commit has been merged in the master branch:
commit b10138017b9fcf4dac8d16f22a184c333ddab9ab
Author: Michael 'Mickey' Lauer <mickey at vanille-media.de>
Date:   Wed Jan 21 13:40:42 2009 +0100

    cli-framework: learn how to convert doubles

diff --git a/tools/cli-framework b/tools/cli-framework
index cfdd897..f2024b0 100755
--- a/tools/cli-framework
+++ b/tools/cli-framework
@@ -10,7 +10,7 @@ Interactive console for the freesmartphone.org framework
 GPLv2 or later
 """
 
-__version__ = "0.9.1.9"
+__version__ = "0.9.1.10"
 
 import dbus.service
 import dbus.mainloop.glib
@@ -24,6 +24,8 @@ def dbus_to_python(v):
 #----------------------------------------------------------------------------#
     if isinstance(v, dbus.Int64) or isinstance(v, dbus.Int32) or type(v) == types.IntType:
         return int(v)
+    elif isinstance(v, dbus.Double) or type(v) == types.FloatType:
+        return float(v)
     elif isinstance(v, dbus.String) or type(v) == types.StringType:
         return str(v)
     elif isinstance(v, dbus.Dictionary) or type(v) == types.DictType:

-- 
FSO frameworkd Debian packaging



More information about the pkg-fso-commits mailing list