git://git.onelab.eu
/
nepi.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
a first very rough step towards python3
[nepi.git]
/
src
/
nepi
/
resources
/
linux
/
scripts
/
linux-udp-connect.py
diff --git
a/src/nepi/resources/linux/scripts/linux-udp-connect.py
b/src/nepi/resources/linux/scripts/linux-udp-connect.py
index
a4b662e
..
6f6d837
100644
(file)
--- a/
src/nepi/resources/linux/scripts/linux-udp-connect.py
+++ b/
src/nepi/resources/linux/scripts/linux-udp-connect.py
@@
-154,7
+154,7
@@
if __name__ == '__main__':
# even if the file exists and had the port number,
# the read operation returns empty string!
# Maybe a race condition?
- for i in
x
range(10):
+ for i in range(10):
f = open(remote_port_file, 'r')
remote_port = f.read()
f.close()