diff options
Diffstat (limited to 'coverage/files.py')
-rw-r--r-- | coverage/files.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/coverage/files.py b/coverage/files.py index ace47c1..28331a1 100644 --- a/coverage/files.py +++ b/coverage/files.py @@ -24,7 +24,8 @@ class FileLocator(object): """ common_prefix = os.path.commonprefix( - [filename, self.relative_dir + os.sep]) + [filename, self.relative_dir + os.sep] + ) return filename[len(common_prefix):] def canonical_filename(self, filename): |