#6666: fix bug in trace.py that applied the list of ignored dirs only to 1st file

This commit is contained in:
Andrew M. Kuchling 2010-02-22 22:16:58 +00:00
parent 561d5aa47f
commit e1f9bebd99
2 changed files with 4 additions and 1 deletions

View file

@ -117,7 +117,7 @@ class Ignore:
self._mods = modules or []
self._dirs = dirs or []
self._dirs = map(os.path.normpath, self._dirs)
self._dirs = list(map(os.path.normpath, self._dirs))
self._ignore = { '<string>': 1 }
def names(self, filename, modulename):