Commit 40f54698 by Michael DeHaan

minor personal style preference on 'not'

parent bee0e8db
...@@ -267,7 +267,7 @@ def parse_yaml_from_file(path): ...@@ -267,7 +267,7 @@ def parse_yaml_from_file(path):
def parse_kv(args): def parse_kv(args):
''' convert a string of key/value items to a dict ''' ''' convert a string of key/value items to a dict '''
options = {} options = {}
if not args is None: if args is not None:
vargs = shlex.split(args, posix=True) vargs = shlex.split(args, posix=True)
for x in vargs: for x in vargs:
if x.find("=") != -1: if x.find("=") != -1:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment