summaryrefslogtreecommitdiffstats
path: root/Lib/distutils/filelist.py
diff options
context:
space:
mode:
authorTarek Ziadé <ziade.tarek@gmail.com>2009-08-18 08:16:33 (GMT)
committerTarek Ziadé <ziade.tarek@gmail.com>2009-08-18 08:16:33 (GMT)
commit1c8c9d12642ba04bb22f612f5d09eaf93c274a18 (patch)
tree5e2d4f3f1bc19269fdf3fd6ae69c5f0a99946bb2 /Lib/distutils/filelist.py
parente2f35c3588e6107e0166446c57da1da48399a005 (diff)
downloadcpython-1c8c9d12642ba04bb22f612f5d09eaf93c274a18.zip
cpython-1c8c9d12642ba04bb22f612f5d09eaf93c274a18.tar.gz
cpython-1c8c9d12642ba04bb22f612f5d09eaf93c274a18.tar.bz2
added more test coverage for distutils.filelist to prevent regressions when fnmatch or re are changed
Diffstat (limited to 'Lib/distutils/filelist.py')
-rw-r--r--Lib/distutils/filelist.py5
1 files changed, 1 insertions, 4 deletions
diff --git a/Lib/distutils/filelist.py b/Lib/distutils/filelist.py
index de665e7..7cf0509 100644
--- a/Lib/distutils/filelist.py
+++ b/Lib/distutils/filelist.py
@@ -115,7 +115,7 @@ class FileList:
# defined: it's the first word of the line. Which of the other
# three are defined depends on the action; it'll be either
# patterns, (dir and patterns), or (dir_pattern).
- (action, patterns, dir, dir_pattern) = self._parse_template_line(line)
+ action, patterns, dir, dir_pattern = self._parse_template_line(line)
# OK, now we know that the action is valid and we have the
# right number of words on the line for that action -- so we
@@ -182,9 +182,6 @@ class FileList:
raise DistutilsInternalError, \
"this cannot happen: invalid action '%s'" % action
- # process_template_line ()
-
-
# -- Filtering/selection methods -----------------------------------
def include_pattern(self, pattern, anchor=1, prefix=None, is_regex=0):