diff options
Diffstat (limited to 'testing/blacklist.py')
| -rw-r--r-- | testing/blacklist.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/testing/blacklist.py b/testing/blacklist.py index 432eb86ab..6ea104b8f 100644 --- a/testing/blacklist.py +++ b/testing/blacklist.py @@ -46,8 +46,9 @@ find_matching_line() adds info using classifiers. """ from io import StringIO -from .helper import decorate + from .buildlog import builds +from .helper import decorate class BlackList(object): @@ -63,7 +64,7 @@ class BlackList(object): def filtered_line(line): if "#" in line: - line = line[ : line.index("#")] + line = line[:line.index("#")] return line.split() # now put every bracketed line in a test |
