X-Git-Url: http://git.onelab.eu/?p=nepi.git;a=blobdiff_plain;f=src%2Fnepi%2Futil%2Fexecfuncs.py;fp=src%2Fnepi%2Futil%2Fexecfuncs.py;h=70cec88c23df8584b7c00a6a3fab4f78c5e5c4df;hp=1f7b6b9b58c21ab4e891eab2fa81f2c9f686cd6d;hb=02b8bd8fed84b9fdcc0daad93cbfc3fb8560135b;hpb=b9237caed1e08ba0ae47c872bebaea7fb393999e diff --git a/src/nepi/util/execfuncs.py b/src/nepi/util/execfuncs.py index 1f7b6b9b..70cec88c 100644 --- a/src/nepi/util/execfuncs.py +++ b/src/nepi/util/execfuncs.py @@ -179,7 +179,7 @@ def lgetpid(pidfile): if out: try: - return [ int(x) for x in out.strip().split(' ',1))] + return [ int(x) for x in out.strip().split(' ', 1) ] except: # Ignore, many ways to fail that don't matter that much return None