a first very rough step towards python3
[nepi.git] / src / nepi / resources / linux / scripts / linux-udp-connect.py
index a4b662e..6f6d837 100644 (file)
@@ -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 xrange(10):
+    for i in range(10):
         f = open(remote_port_file, 'r')
         remote_port = f.read()
         f.close()