blind review on list-operations added by 2to3:
[nepi.git] / src / nepi / util / execfuncs.py
index 1cc4e05..1f7b6b9 100644 (file)
@@ -179,7 +179,7 @@ def lgetpid(pidfile):
     
     if out:
         try:
-            return list(map(int,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