pytools: obmcutil: Drop parentheses from conditions
Change-Id: I85b74febc33e8f44d9df86718ce6e3ba1d6d6933
Signed-off-by: Andrew Jeffery <andrew@aj.id.au>
diff --git a/pytools/obmcutil b/pytools/obmcutil
index 1aa38b4..396a394 100644
--- a/pytools/obmcutil
+++ b/pytools/obmcutil
@@ -109,14 +109,14 @@
if prop:
dbus_iface = dbus.Interface(dbus_obj, "org.freedesktop.DBus.Properties")
- if (objinfo.has_key('value')):
+ if objinfo.has_key('value'):
val = objinfo['value']
else:
- if(len(sys.argv) > 0):
+ if len(sys.argv) > 0:
val = eval(sys.argv.pop(0))
else:
val = None
- if(val is not None):
+ if val is not None:
dbus_iface.Set(iface, prop, val)
else:
dbus_prop = dbus_iface.Get(iface, prop)