updated utility split args method to work with both str/unicode types

This commit is contained in:
Blake J. Harnden 2018-08-16 16:56:13 -07:00
parent ae2c0aa697
commit 0c840f553d

View file

@ -148,7 +148,7 @@ def split_args(args):
:return: shell-like syntax list
:rtype: list
"""
if type(args) == str:
if isinstance(args, basestring):
args = shlex.split(args)
return args