From 4aa10001c7c763c543ff70cc120a977efe40ff7e Mon Sep 17 00:00:00 2001 From: Deepak Kodihalli Date: Thu, 13 Sep 2018 11:48:45 -0500 Subject: Purge semicolons Change-Id: Ibca457d0721cce4a76152c2095026adc1bdcdfea Signed-off-by: Deepak Kodihalli --- module/obmc/wsgi/apps/rest_dbus.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/module/obmc/wsgi/apps/rest_dbus.py b/module/obmc/wsgi/apps/rest_dbus.py index 2bfce21..f7a500b 100644 --- a/module/obmc/wsgi/apps/rest_dbus.py +++ b/module/obmc/wsgi/apps/rest_dbus.py @@ -1531,9 +1531,9 @@ class LoggingPlugin(object): def __call__(self, *a, **kw): resp = self.callback(*a, **kw) if not self.enabled(): - return resp; + return resp if request.method == 'GET': - return resp; + return resp json = request.json if self.suppress_json_logging: json = None @@ -1551,7 +1551,7 @@ class LoggingPlugin(object): url=request.url, json=json, status=response.status)) - return resp; + return resp def enabled(self): if self.logging_enabled is None: -- cgit v1.2.1