git://git.onelab.eu
/
sfa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
python3 - 2to3 + miscell obvious tweaks
[sfa.git]
/
sfa
/
client
/
multiclient.py
diff --git
a/sfa/client/multiclient.py
b/sfa/client/multiclient.py
index
3939994
..
ad6f357
100644
(file)
--- a/
sfa/client/multiclient.py
+++ b/
sfa/client/multiclient.py
@@
-1,9
+1,9
@@
-from __future__ import print_function
+
import threading
import traceback
import time
import threading
import traceback
import time
-from
Q
ueue import Queue
+from
q
ueue import Queue
from sfa.util.sfalogging import logger
from sfa.util.sfalogging import logger
@@
-105,7
+105,7
@@
if __name__ == '__main__':
def e(name, n, sleep=1):
nums = []
def e(name, n, sleep=1):
nums = []
- for i in
range(n, n + 3
) + ['n', 'b']:
+ for i in
list(range(n, n + 3)
) + ['n', 'b']:
print("%s: 1 + %s:" % (name, i))
nums.append(i + 1)
time.sleep(sleep)
print("%s: 1 + %s:" % (name, i))
nums.append(i + 1)
time.sleep(sleep)