minor personal style preference on 'not'

pull/4420/head
Michael DeHaan 2012-04-26 20:42:20 -04:00
parent bee0e8db5b
commit 40f5469869
1 changed files with 1 additions and 1 deletions

View File

@ -267,7 +267,7 @@ def parse_yaml_from_file(path):
def parse_kv(args):
''' convert a string of key/value items to a dict '''
options = {}
if not args is None:
if args is not None:
vargs = shlex.split(args, posix=True)
for x in vargs:
if x.find("=") != -1: