summaryrefslogtreecommitdiffstats
path: root/Tools/freeze/modulefinder.py
diff options
context:
space:
mode:
authorThomas Heller <theller@ctypes.org>2002-11-26 08:06:50 (GMT)
committerThomas Heller <theller@ctypes.org>2002-11-26 08:06:50 (GMT)
commit318b7b920d818f7da7040cbc5cc4696415eab7cc (patch)
tree195623907e97c2be2faec6a6446b50167df333aa /Tools/freeze/modulefinder.py
parent8af41ceece953bfb4f1d84d3fc11435a3edbb1d8 (diff)
downloadcpython-318b7b920d818f7da7040cbc5cc4696415eab7cc.zip
cpython-318b7b920d818f7da7040cbc5cc4696415eab7cc.tar.gz
cpython-318b7b920d818f7da7040cbc5cc4696415eab7cc.tar.bz2
Polish some bits to silence pychecker.
Diffstat (limited to 'Tools/freeze/modulefinder.py')
-rw-r--r--Tools/freeze/modulefinder.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Tools/freeze/modulefinder.py b/Tools/freeze/modulefinder.py
index d38c9c6..7a97a04 100644
--- a/Tools/freeze/modulefinder.py
+++ b/Tools/freeze/modulefinder.py
@@ -6,7 +6,6 @@ import dis
import imp
import marshal
import os
-import re
import sys
import new
@@ -122,6 +121,7 @@ class ModuleFinder:
return q
if m.__path__:
self.ensure_fromlist(m, fromlist)
+ return None
def determine_parent(self, caller):
self.msgin(4, "determine_parent", caller)