diff options
Diffstat (limited to 'buildscripts/resmokelib/utils/jscomment.py')
-rw-r--r-- | buildscripts/resmokelib/utils/jscomment.py | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/buildscripts/resmokelib/utils/jscomment.py b/buildscripts/resmokelib/utils/jscomment.py index 18da7885820..43484573fac 100644 --- a/buildscripts/resmokelib/utils/jscomment.py +++ b/buildscripts/resmokelib/utils/jscomment.py @@ -8,7 +8,6 @@ import re import yaml - # TODO: use a more robust regular expression for matching tags _JSTEST_TAGS_RE = re.compile(r".*@tags\s*:\s*(\[[^\]]*\])", re.DOTALL) @@ -43,8 +42,8 @@ def get_tags(pathname): raise TypeError("Expected a list of string tags, but got '%s'" % (tags)) return tags except yaml.YAMLError as err: - raise ValueError("File '%s' contained invalid tags (expected YAML): %s" - % (pathname, err)) + raise ValueError("File '%s' contained invalid tags (expected YAML): %s" % (pathname, + err)) return [] |