]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
fix usage of undefined name (#25504)
authorBenjamin Peterson <benjamin@python.org>
Fri, 30 Oct 2015 04:10:57 +0000 (21:10 -0700)
committerBenjamin Peterson <benjamin@python.org>
Fri, 30 Oct 2015 04:10:57 +0000 (21:10 -0700)
Tools/freeze/checkextensions_win32.py

index 8c6444cf5ad8669517826295f85a7e205a108d17..10f199c94351d03ebcca5ffd6174449522ef712f 100644 (file)
@@ -118,7 +118,7 @@ def get_extension_defn(moduleName, mapFileName, prefix):
 
     for exc in exclude:
         if exc in module.sourceFiles:
-            modules.sourceFiles.remove(exc)
+            module.sourceFiles.remove(exc)
 
     return module