diff --git a/pytools/obmcutil b/pytools/obmcutil
index 40bd655..e62f2fc 100644
--- a/pytools/obmcutil
+++ b/pytools/obmcutil
@@ -110,14 +110,14 @@
         if (prop != ""):
             dbus_iface = dbus.Interface(dbus_obj, "org.freedesktop.DBus.Properties")
             if (objinfo.has_key('value')):
-                property_value = objinfo['value']
+                val = objinfo['value']
             else:
                 if(len(sys.argv) > 0):
-                    property_value = eval(sys.argv.pop(0))
+                    val = eval(sys.argv.pop(0))
                 else:
-                    property_value = None
-            if(property_value is not None):
-                dbus_iface.Set(iface, prop, property_value)
+                    val = None
+            if(val is not None):
+                dbus_iface.Set(iface, prop, val)
             else:
                 dbus_prop = dbus_iface.Get(iface, prop)
                 print '{:<20}'.format(prop+": ") + str(dbus_prop)
