module: pep8 fixes
A couple pep8 errors found their way in.
Change-Id: I31c1de3b2bc92b20a809b9c2638df0d83c2b2ea3
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
diff --git a/module/obmc/wsgi/apps/rest_dbus.py b/module/obmc/wsgi/apps/rest_dbus.py
index 3d056fb..f172cdc 100644
--- a/module/obmc/wsgi/apps/rest_dbus.py
+++ b/module/obmc/wsgi/apps/rest_dbus.py
@@ -367,7 +367,7 @@
except dbus.exceptions.DBusException, e:
paramlist = []
- if e.get_dbus_name() == DBUS_INVALID_ARGS and retry == True:
+ if e.get_dbus_name() == DBUS_INVALID_ARGS and retry:
signature_list = get_method_signature(self.bus, self.service,
path, self.interface,
@@ -461,7 +461,7 @@
except ValueError, e:
abort(400, str(e))
except dbus.exceptions.DBusException, e:
- if e.get_dbus_name() == DBUS_INVALID_ARGS and retry == True:
+ if e.get_dbus_name() == DBUS_INVALID_ARGS and retry:
bus_name = properties_iface.bus_name
expected_type = get_type_signature_by_introspection(self.bus,
bus_name,