Skip to content

Commit

Permalink
Better import * reg ex
Browse files Browse the repository at this point in the history
  • Loading branch information
tobes committed Apr 16, 2013
1 parent 3d8f8a0 commit 4c0d347
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ckan/tests/test_coding_standards.py
Expand Up @@ -828,7 +828,7 @@ def setup(cls):
@classmethod
def process(cls):
blacklist = IMPORT_STAR_BLACKLIST_FILES
re_import_star = re.compile(r'^from\s+.*\simport\s+\*')
re_import_star = re.compile(r'^\s*from\s+.*\simport\s+\*')
for path, filename in process_directory(base_path):
f = open(path, 'r')
count = 1
Expand Down

0 comments on commit 4c0d347

Please sign in to comment.