Skip to content

Commit 9894b84

Browse files
author
Neil Grey
committed
For #34500 : Updating value checking syntax for brevity
1 parent ee3aa67 commit 9894b84

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tests/base.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -293,7 +293,7 @@ def __init__(self):
293293
# configuration naming of "SG_{KEY}". Default is None.
294294
value = os.environ.get('SG_%s' % (str(key).upper()))
295295
if key in ['mock']:
296-
value = (value == None) or (str(value).lower() in ['true','1']):
296+
value = (value == None) or (str(value).lower() in ['true','1'])
297297
setattr(self, key, value)
298298

299299
def config_keys(self):

0 commit comments

Comments
 (0)