From e1f9bebd991bc8aff0f4f1ca8774b029eb875584 Mon Sep 17 00:00:00 2001 From: "Andrew M. Kuchling" Date: Mon, 22 Feb 2010 22:16:58 +0000 Subject: #6666: fix bug in trace.py that applied the list of ignored dirs only to 1st file --- Lib/trace.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Lib/trace.py') 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 = { '': 1 } def names(self, filename, modulename): -- cgit v1.2.1