BBlack has uploaded a new change for review.

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

Change subject: zerofetch.py: satisfy pep8 while actually still working
......................................................................

zerofetch.py: satisfy pep8 while actually still working

Change-Id: I120ea91fd82eb65ddf3d7af67a5be14d772f5528
---
M modules/varnish/files/zerofetch.py
1 file changed, 3 insertions(+), 3 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/operations/puppet 
refs/changes/77/130777/1

diff --git a/modules/varnish/files/zerofetch.py 
b/modules/varnish/files/zerofetch.py
index a98c1bc..2c5c554 100755
--- a/modules/varnish/files/zerofetch.py
+++ b/modules/varnish/files/zerofetch.py
@@ -127,9 +127,9 @@
     #  not to trip the mtime-watching reload code in vmod_netmapper
     #  unnecessarily)
     for temp in renames:
-        if not os.path.exists(renames[temp])
-        or not filecmp.cmp(temp, renames[temp]):
-                os.rename(temp, renames[temp])
+        if (not os.path.exists(renames[temp])
+                or not filecmp.cmp(temp, renames[temp])):
+            os.rename(temp, renames[temp])
         else:
             os.remove(temp)
 

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I120ea91fd82eb65ddf3d7af67a5be14d772f5528
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: BBlack <bbl...@wikimedia.org>

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

Reply via email to