test: Update get-icon to the new API
authorDenis Kenzior <denkenz@gmail.com>
Wed, 13 Oct 2010 09:02:58 +0000 (04:02 -0500)
committerDenis Kenzior <denkenz@gmail.com>
Wed, 13 Oct 2010 10:04:47 +0000 (05:04 -0500)
test/get-icon

index eb6f096..326d562 100755 (executable)
@@ -24,4 +24,8 @@ sim = dbus.Interface(bus.get_object('org.ofono', path),
                                'org.ofono.SimManager')
 
 icon = sim.GetIcon(dbus.Byte(int(sys.argv[1])))
-print icon
+
+xpm = ""
+for byte in icon:
+       xpm += str(byte)
+print xpm