BryanDavis has uploaded a new change for review.
https://gerrit.wikimedia.org/r/291184
Change subject: salt: Fix PEP8 violations
......................................................................
salt: Fix PEP8 violations
* F821 undefined name '__opts__'
Change-Id: I2f8922f3eb083071f4a3ec89616ab974947cd736
---
M modules/salt/files/keys.py
1 file changed, 5 insertions(+), 0 deletions(-)
git pull ssh://gerrit.wikimedia.org:29418/operations/puppet
refs/changes/84/291184/1
diff --git a/modules/salt/files/keys.py b/modules/salt/files/keys.py
index 8facff9..c1d969a 100755
--- a/modules/salt/files/keys.py
+++ b/modules/salt/files/keys.py
@@ -72,3 +72,8 @@
ret['status'] = 'done'
print ret
return ret
+
+
+if __name__ == '__main__':
+ # Make flake8 happy by defining globals
+ __opts__ = dict()
--
To view, visit https://gerrit.wikimedia.org/r/291184
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I2f8922f3eb083071f4a3ec89616ab974947cd736
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: BryanDavis <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits