Fix indentation

This commit is contained in:
desbma 2016-01-25 22:49:17 +01:00
parent bfe6c718f0
commit 17a2a2f57e

View File

@ -48,12 +48,12 @@ def split_process_cmdline(process):
basename = process['name']
arguments = None
if process['exe'] and process['cmdline'].startswith(process['exe']):
dn, bn = os.path.split(process['exe'])
dirname = dn or None
basename = bn or process['name']
arguments = process['cmdline'][len(process['exe']):].lstrip()
dn, bn = os.path.split(process['exe'])
dirname = dn or None
basename = bn or process['name']
arguments = process['cmdline'][len(process['exe']):].lstrip()
elif process['cmdline'].startswith(process['name']):
arguments = process['cmdline'][len(process['name']):].lstrip()
arguments = process['cmdline'][len(process['name']):].lstrip()
return dirname, basename, arguments