Merlijn van Deen has uploaded a new change for review.
https://gerrit.wikimedia.org/r/79564
Change subject: Fixup for r77341: 'globals' should be 'global'
......................................................................
Fixup for r77341: 'globals' should be 'global'
Change-Id: Id16d18958c735e594605467d63ff716e38d6c039
---
M externals/__init__.py
1 file changed, 1 insertion(+), 1 deletion(-)
git pull ssh://gerrit.wikimedia.org:29418/pywikibot/compat
refs/changes/64/79564/1
diff --git a/externals/__init__.py b/externals/__init__.py
index c58c375..e7db1c4 100644
--- a/externals/__init__.py
+++ b/externals/__init__.py
@@ -210,7 +210,7 @@
return v == 'Y' or v == 'YES'
def show_patch_question():
- globals _patch_permission
+ global _patch_permission
if _patch_permission is None:
lowlevel_warning("Give externals permission to execute the patch
command?"
" (y/N)")
--
To view, visit https://gerrit.wikimedia.org/r/79564
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: Id16d18958c735e594605467d63ff716e38d6c039
Gerrit-PatchSet: 1
Gerrit-Project: pywikibot/compat
Gerrit-Branch: master
Gerrit-Owner: Merlijn van Deen <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits