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 | 82c4c9f038bce0635ee565f80953c9fa9ff61dfe (patch) | |
| tree | 88dcfe5fc8bec924f3b1cecde818cbe273e36206 /coverage | |
| parent | 351264bd7deff3fdf6e393581560b4d994c1dbfa (diff) | |
| download | python-coveragepy-git-82c4c9f038bce0635ee565f80953c9fa9ff61dfe.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')
| -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 3a3a7732..5737026e 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: |
