really only want to prevent None typep here

false is sometimes needed
pull/14899/head
Brian Coca 9 years ago committed by James Cammarata
parent 0924a668e1
commit 1b88366905

@ -1772,7 +1772,7 @@ class AnsibleModule(object):
# expand things like $HOME and ~ # expand things like $HOME and ~
if not shell: if not shell:
args = [ os.path.expandvars(os.path.expanduser(x)) for x in args if x ] args = [ os.path.expandvars(os.path.expanduser(x)) for x in args if x is not None ]
rc = 0 rc = 0
msg = None msg = None

Loading…
Cancel
Save