From 40f54698695647fcf80176f5b24e1b299678c0b6 Mon Sep 17 00:00:00 2001 From: Michael DeHaan Date: Thu, 26 Apr 2012 20:42:20 -0400 Subject: [PATCH] minor personal style preference on 'not' --- lib/ansible/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ansible/utils.py b/lib/ansible/utils.py index 4740a7d4e32..037afd871a4 100644 --- a/lib/ansible/utils.py +++ b/lib/ansible/utils.py @@ -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: