diff options
author | Jack Jansen <jack.jansen@cwi.nl> | 2000-09-10 12:03:06 (GMT) |
---|---|---|
committer | Jack Jansen <jack.jansen@cwi.nl> | 2000-09-10 12:03:06 (GMT) |
commit | eb43b30aee1c71b03dfaf7e1516bd610f9dd83d0 (patch) | |
tree | 25e6eb232b2c567c9f5f07fafbb3679318e4919f /Mac/scripts | |
parent | 8a6cdccf218880465366aeca59eb3de92d871dea (diff) | |
download | cpython-eb43b30aee1c71b03dfaf7e1516bd610f9dd83d0.zip cpython-eb43b30aee1c71b03dfaf7e1516bd610f9dd83d0.tar.gz cpython-eb43b30aee1c71b03dfaf7e1516bd610f9dd83d0.tar.bz2 |
The logic for finding long matches before short ones was wrong (why did I never notice this??!?), fixed.
Diffstat (limited to 'Mac/scripts')
-rw-r--r-- | Mac/scripts/MkDistr.py | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/Mac/scripts/MkDistr.py b/Mac/scripts/MkDistr.py index 1ed774c..a8728ab 100644 --- a/Mac/scripts/MkDistr.py +++ b/Mac/scripts/MkDistr.py @@ -142,13 +142,13 @@ class IncMatcher(Matcher): if DEBUG: print 'include', patharg, dstpath return dstpath - path, lastcomp = os.path.split(path) - if not path: - break - removed[0:0] = [lastcomp] - # Next check the exclude directory - path = patharg - while 1: +## path, lastcomp = os.path.split(path) +## if not path: +## break +## removed[0:0] = [lastcomp] +## # Next check the exclude directory +## path = patharg +## while 1: if self.edict.has_key(path): if DEBUG: print 'exclude', patharg, path |