Skip to content

Commit 4d4ccaf

Browse files
authored
Merge pull request microsoft#21 from microsoft/develop
Rebase and commit fix
2 parents 8d3af4f + 83f6111 commit 4d4ccaf

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

runtime/nutterfixture.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,9 @@
1212

1313
def tag(the_tag):
1414
def tag_decorator(function):
15-
if isinstance(the_tag, list) == False and isinstance(the_tag, str) == False:
15+
if not isinstance(the_tag, list) and not isinstance(the_tag, str):
1616
raise ValueError("the_tag must be a string or a list")
17-
if str.startswith(function.__name__, "run_") == False:
17+
if not str.startswith(function.__name__, "run_"):
1818
raise ValueError("a tag may only decorate a run_ method")
1919

2020
function.tag = the_tag

0 commit comments

Comments
 (0)