pytools: obmcutil: Drop redundant prop assignment and test

Change-Id: I0b1b023aeac7103f0be92201c2475193b0f69e5c
Signed-off-by: Andrew Jeffery <andrew@aj.id.au>
diff --git a/pytools/obmcutil b/pytools/obmcutil
index 3cdfed9..ab5e884 100644
--- a/pytools/obmcutil
+++ b/pytools/obmcutil
@@ -88,8 +88,6 @@
             print "\t" + name + " -> " + ",".join(multicmd_objects[name])
         exit(0)
 
-    prop = None
-
     sys.argv.pop(0)
     cmd = [sys.argv.pop(0)]
 
@@ -99,15 +97,14 @@
 
     for c in cmd:
         objinfo = dbus_objects[c]
-        if (objinfo.has_key('property')):
-            prop = objinfo['property']
 
         bus = objinfo['bus_name']
         obj = objinfo['object_name']
         iface = objinfo['interface_name']
         dbus_obj = dbus_bus.get_object(bus, obj)
 
-        if prop:
+        if (objinfo.has_key('property')):
+            prop = objinfo['property']
             dbus_iface = dbus.Interface(dbus_obj, "org.freedesktop.DBus.Properties")
             if objinfo.has_key('value'):
                 dbus_iface.Set(iface, prop, objinfo['value'])