fixed 2 bugs/typos found through testing
authorThierry Parmentelat <thierry.parmentelat@inria.fr>
Thu, 15 Oct 2015 16:33:11 +0000 (18:33 +0200)
committerThierry Parmentelat <thierry.parmentelat@inria.fr>
Thu, 15 Oct 2015 16:33:11 +0000 (18:33 +0200)
src/nepi/util/execfuncs.py
src/nepi/util/sshfuncs.py

index 1f7b6b9..70cec88 100644 (file)
@@ -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
index 0d0c17d..7587e97 100644 (file)
@@ -554,7 +554,7 @@ def rgetpid(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