Ema has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/263022

Change subject: etcd.py: remove unused local variable 'e'
......................................................................

etcd.py: remove unused local variable 'e'

Change-Id: I838d047f2e37bc65113c511bb5a0cdddbf544369
---
M pybal/etcd.py
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull ssh://gerrit.wikimedia.org:29418/operations/debs/pybal 
refs/changes/22/263022/1

diff --git a/pybal/etcd.py b/pybal/etcd.py
index eee4896..c0f3f20 100644
--- a/pybal/etcd.py
+++ b/pybal/etcd.py
@@ -65,7 +65,7 @@
         else:
             try:
                 config = json.loads(response)
-            except Exception as e:
+            except Exception:
                 self.factory.onFailure(failure.Failure())
             else:
                 self.factory.onUpdate(config, self.etcdIndex)

-- 
To view, visit https://gerrit.wikimedia.org/r/263022
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I838d047f2e37bc65113c511bb5a0cdddbf544369
Gerrit-PatchSet: 1
Gerrit-Project: operations/debs/pybal
Gerrit-Branch: master
Gerrit-Owner: Ema <e...@wikimedia.org>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to