summaryrefslogtreecommitdiff
path: root/Lib/trace.py
diff options
context:
space:
mode:
authorAndrew M. Kuchling <amk@amk.ca>2010-02-22 22:16:58 +0000
committerAndrew M. Kuchling <amk@amk.ca>2010-02-22 22:16:58 +0000
commite1f9bebd991bc8aff0f4f1ca8774b029eb875584 (patch)
tree8967f4d4b6b25a3bd5773b9e637f5a282b209356 /Lib/trace.py
parent561d5aa47f78198a12ff197e0daff55680547d46 (diff)
downloadcpython-git-e1f9bebd991bc8aff0f4f1ca8774b029eb875584.tar.gz
#6666: fix bug in trace.py that applied the list of ignored dirs only to 1st file
Diffstat (limited to 'Lib/trace.py')
-rw-r--r--Lib/trace.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/trace.py b/Lib/trace.py
index 9ce240fde5..e6316b6919 100644
--- a/Lib/trace.py
+++ b/Lib/trace.py
@@ -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):