Fixed typo strip => split

This commit is contained in:
Ivan Chinenov 2019-12-11 23:23:07 +03:00 committed by GitHub
parent 4b0ac88e62
commit 6aea754b3d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -24,7 +24,7 @@ def aslist(val):
return []
if isinstance(val, list):
return val
return str(val).replace(' ', '').strip(',')
return str(val).replace(' ', '').split(',')
def execute(cmd, wait=True):
logging.info("executing command '{}'".format(cmd))