blind review on list-operations added by 2to3:
[nepi.git] / src / nepi / util / sshfuncs.py
index 34d19a2..f33b9c6 100644 (file)
@@ -556,7 +556,7 @@ def rgetpid(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