This is probably a better solution:

--- /usr/bin/parallel-scp       2008-05-07 04:54:39.000000000 +0300
+++ parallel-scp        2009-02-20 13:14:44.000000000 +0200
@@ -21,7 +21,10 @@
 from psshlib.basethread import BaseThread
 
 _DEFAULT_PARALLELISM = 32
-_DEFAULT_TIMEOUT     = sys.maxint # "infinity" by default
+if sys.maxint >> 33:
+    _DEFAULT_TIMEOUT = sys.maxint >> 33
+else:
+    _DEFAULT_TIMEOUT = sys.maxint # "infinity" by default
 
 def print_usage():
     print "Usage: pscp [OPTIONS] -h hosts.txt local remote"

-- 
pssh (parallel-scp) invalid argument
https://bugs.launchpad.net/bugs/291111
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to