[pkg-fso-commits] [SCM] Various useful tools for an FSO installation branch, master, updated. debian/0.git20080812.2-32-gb5a13bb
Jan Luebbe
jluebbe at debian.org
Sun Sep 27 16:11:43 UTC 2009
The following commit has been merged in the master branch:
commit c1a0eda021ceb568fdf1332c0bbcd0a9bb3d364f
Author: Jan Luebbe <jluebbe at debian.org>
Date: Thu Jan 29 20:51:19 2009 +0100
mdbus: complete the integer types
diff --git a/mickeydbus/mdbus b/mickeydbus/mdbus
index 89461bb..00feee0 100755
--- a/mickeydbus/mdbus
+++ b/mickeydbus/mdbus
@@ -175,8 +175,11 @@ def dbus_to_python(v):
if isinstance(v, dbus.Byte) \
or isinstance(v, dbus.Int64) \
- or isinstance(v, dbus.UInt32) \
+ or isinstance(v, dbus.UInt64) \
or isinstance(v, dbus.Int32) \
+ or isinstance(v, dbus.UInt32) \
+ or isinstance(v, dbus.Int16) \
+ or isinstance(v, dbus.UInt16) \
or type(v) == types.IntType:
return int(v)
elif isinstance(v, dbus.Double) or type(v) == types.FloatType:
--
Various useful tools for an FSO installation
More information about the pkg-fso-commits
mailing list