[pkg-fso-commits] [SCM] Various useful tools for an FSO installation branch, master, updated. debian/0.git20080812.2-32-gb5a13bb

Michael 'Mickey' Lauer mickey at vanille-media.de
Sun Sep 27 16:11:41 UTC 2009


The following commit has been merged in the master branch:
commit ad445af8c50f935e1677b9e64463fb20ac522adf
Author: Michael 'Mickey' Lauer <mickey at vanille-media.de>
Date:   Wed Dec 31 21:19:22 2008 +0100

    mdbus: prettyprint dbus.Int64 as well

diff --git a/mickeydbus/mdbus b/mickeydbus/mdbus
index 0b6550b..794a28b 100755
--- a/mickeydbus/mdbus
+++ b/mickeydbus/mdbus
@@ -2,12 +2,12 @@
 """
 Mickey's own dbus introspection utility.
 
-(C) 2008 Michael 'Mickey' Lauer <mlauer at vanille-media.de>
+(C) 2008-2009 Michael 'Mickey' Lauer <mlauer at vanille-media.de>
 
 GPLv2 or later
 """
 
-__version__ = "0.9.9.7"
+__version__ = "0.9.9.8"
 
 from xml.parsers.expat import ExpatError, ParserCreate
 from dbus.exceptions import IntrospectionParserException
@@ -166,7 +166,7 @@ import types
 #----------------------------------------------------------------------------#
 def dbus_to_python(v):
 #----------------------------------------------------------------------------#
-    if isinstance(v, dbus.Int32) or type(v) == types.IntType:
+    if isinstance(v, dbus.Int64) or isinstance(v, dbus.Int32) or type(v) == types.IntType:
         return int(v)
     elif isinstance(v, dbus.String) or type(v) == types.StringType:
         return str(v)

-- 
Various useful tools for an FSO installation



More information about the pkg-fso-commits mailing list