diff options
| author | Deepak Kodihalli <dkodihal@in.ibm.com> | 2018-09-13 11:48:45 -0500 |
|---|---|---|
| committer | Deepak Kodihalli <dkodihal@in.ibm.com> | 2018-09-13 11:48:45 -0500 |
| commit | 4aa10001c7c763c543ff70cc120a977efe40ff7e (patch) | |
| tree | 1489cb5ac936c8e7cae4d434af7e5233d6b0fbfd | |
| parent | 958036845a0bdb15e01a28e62041e4c9fe4559d2 (diff) | |
| download | phosphor-rest-server-4aa10001c7c763c543ff70cc120a977efe40ff7e.tar.gz phosphor-rest-server-4aa10001c7c763c543ff70cc120a977efe40ff7e.zip | |
Purge semicolons
Change-Id: Ibca457d0721cce4a76152c2095026adc1bdcdfea
Signed-off-by: Deepak Kodihalli <dkodihal@in.ibm.com>
| -rw-r--r-- | module/obmc/wsgi/apps/rest_dbus.py | 6 |
1 files 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: |

