summaryrefslogtreecommitdiff
path: root/coverage/control.py
diff options
context:
space:
mode:
authorNed Batchelder <ned@nedbatchelder.com>2011-09-03 15:43:51 -0400
committerNed Batchelder <ned@nedbatchelder.com>2011-09-03 15:43:51 -0400
commitd9b1cc04cde71e2f830dfa91f9a8fa3bcee09b34 (patch)
treec2f5a924abdb0605eb11c392f4428b42bcf528ed /coverage/control.py
parentd27b5891587ca85a8fe878bb7c74f198e3ba9db7 (diff)
downloadpython-coveragepy-git-d9b1cc04cde71e2f830dfa91f9a8fa3bcee09b34.tar.gz
Fix the [paths] feature to actually work for reporting.
Diffstat (limited to 'coverage/control.py')
-rw-r--r--coverage/control.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/coverage/control.py b/coverage/control.py
index a77d805d..d83e11b8 100644
--- a/coverage/control.py
+++ b/coverage/control.py
@@ -469,7 +469,7 @@ class coverage(object):
"""
aliases = None
if self.config.paths:
- aliases = PathAliases()
+ aliases = PathAliases(self.file_locator)
for paths in self.config.paths.values():
result = paths[0]
for pattern in paths[1:]: