pytools: obmcutil: Make prop use None instead of empty string
Change-Id: I54e04fba2108edce0dbe504ae40f4ae4e073188e
Signed-off-by: Andrew Jeffery <andrew@aj.id.au>
diff --git a/pytools/obmcutil b/pytools/obmcutil
index e62f2fc..1aa38b4 100644
--- a/pytools/obmcutil
+++ b/pytools/obmcutil
@@ -88,7 +88,7 @@
print "\t" + name + " -> " + ",".join(multicmd_objects[name])
exit(0)
- prop = ""
+ prop = None
sys.argv.pop(0)
cmd = [sys.argv.pop(0)]
@@ -107,7 +107,7 @@
iface = objinfo['interface_name']
dbus_obj = dbus_bus.get_object(bus, obj)
- if (prop != ""):
+ if prop:
dbus_iface = dbus.Interface(dbus_obj, "org.freedesktop.DBus.Properties")
if (objinfo.has_key('value')):
val = objinfo['value']