Yuvipanda has submitted this change and it was merged.
Change subject: swiftcleaner: Fix pyflakes warnings
......................................................................
swiftcleaner: Fix pyflakes warnings
Change-Id: I73e0dc50ae361d9c1c9744c65ced686ac546a85b
---
M swiftcleaner/swiftcleaner_helper.py
1 file changed, 1 insertion(+), 2 deletions(-)
Approvals:
Yuvipanda: Looks good to me, approved
jenkins-bot: Verified
diff --git a/swiftcleaner/swiftcleaner_helper.py
b/swiftcleaner/swiftcleaner_helper.py
index 0e6992e..b4b5799 100644
--- a/swiftcleaner/swiftcleaner_helper.py
+++ b/swiftcleaner/swiftcleaner_helper.py
@@ -39,7 +39,6 @@
print "getting token excepted with %s" % e
raise
authtoken = resp.info()['X-Storage-Token']
- authurl = resp.info()['X-Storage-Url']
cls._token = authtoken
return authtoken
@@ -77,7 +76,7 @@
val = (False if val is False or val == 'False' else True)
conf[opt] = val
configfh.close()
- except (IOError, TypeError), e:
+ except (IOError, TypeError):
# if the conf file doesn't exist, that's cool. no biggy.
#print "passing with exp %s" % e
pass
--
To view, visit https://gerrit.wikimedia.org/r/169255
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: I73e0dc50ae361d9c1c9744c65ced686ac546a85b
Gerrit-PatchSet: 1
Gerrit-Project: operations/software
Gerrit-Branch: master
Gerrit-Owner: Tim Landscheidt <[email protected]>
Gerrit-Reviewer: Bhartshorne <[email protected]>
Gerrit-Reviewer: Yuvipanda <[email protected]>
Gerrit-Reviewer: jenkins-bot <>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits