diff options
author | desmaj <matthew.desmarais@gmail.com> | 2013-03-18 00:03:39 -0400 |
---|---|---|
committer | desmaj <matthew.desmarais@gmail.com> | 2013-03-18 00:03:39 -0400 |
commit | 0c8152d5d237bcfcb846e17f7907ea8a1ec352bf (patch) | |
tree | 6b66e1eaa7014a0e9d346d806397c27934cce985 /coverage/files.py | |
parent | 65586d18d36f28da6bdf99aada5d821cc6b2846d (diff) | |
download | python-coveragepy-0c8152d5d237bcfcb846e17f7907ea8a1ec352bf.tar.gz |
Removed redundant code; Changed a setup.py test to ensure that the proper setup.py is imported; Changed the 'oddball' tests to use a filename whitelist instead of a blacklist (so that tests run better under instrumental
Diffstat (limited to 'coverage/files.py')
-rw-r--r-- | coverage/files.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/coverage/files.py b/coverage/files.py index 3a3a773..5737026 100644 --- a/coverage/files.py +++ b/coverage/files.py @@ -129,7 +129,7 @@ def prep_patterns(patterns): """ patterns = patterns or [] prepped = [] - for p in patterns or []: + for p in patterns: if p.startswith("*") or p.startswith("?"): prepped.append(p) else: |