[Python-checkins] cpython (2.7): fix usage of undefined name (#25504)

benjamin.peterson python-checkins at python.org
Fri Oct 30 00:11:38 EDT 2015


https://hg.python.org/cpython/rev/31fd613a40aa
changeset:   98892:31fd613a40aa
branch:      2.7
parent:      98889:24bdc4940e81
user:        Benjamin Peterson <benjamin at python.org>
date:        Thu Oct 29 21:10:57 2015 -0700
summary:
  fix usage of undefined name (#25504)

files:
  Tools/freeze/checkextensions_win32.py |  2 +-
  1 files changed, 1 insertions(+), 1 deletions(-)


diff --git a/Tools/freeze/checkextensions_win32.py b/Tools/freeze/checkextensions_win32.py
--- a/Tools/freeze/checkextensions_win32.py
+++ b/Tools/freeze/checkextensions_win32.py
@@ -118,7 +118,7 @@
 
     for exc in exclude:
         if exc in module.sourceFiles:
-            modules.sourceFiles.remove(exc)
+            module.sourceFiles.remove(exc)
 
     return module
 

-- 
Repository URL: https://hg.python.org/cpython


More information about the Python-checkins mailing list