a first very rough step towards python3
[nepi.git] / src / nepi / resources / linux / scripts / fd-udp-connect.py
index 83bd845..9ad2e50 100644 (file)
@@ -129,7 +129,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()