jenkins-bot submitted this change.
[setup] Ignore globals from loading into metadata dict
If no parameters are given for locals all key/value pairs are stored
in the first mapping including __buildins__ which are the globals.
To ignore then just pass None for globals and keep metadata mapping
for locals.
Change-Id: I00caee679f5c5a92cc2673c420ac9d2368698db0
---
M setup.py
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/setup.py b/setup.py
index 192de71..8057398 100755
--- a/setup.py
+++ b/setup.py
@@ -143,7 +143,7 @@
name = 'pywikibot'
path = os.path.abspath(os.path.dirname(__file__))
with open(os.path.join(path, name, '__metadata__.py')) as f:
- exec(f.read(), metadata)
+ exec(f.read(), None, metadata)
assert metadata.__name__ == name
To view, visit change 838848. To unsubscribe, or for help writing mail filters, visit settings.