aboutsummaryrefslogtreecommitdiffstats
path: root/mpm/tools
diff options
context:
space:
mode:
Diffstat (limited to 'mpm/tools')
-rwxr-xr-xmpm/tools/mpm_debug.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/mpm/tools/mpm_debug.py b/mpm/tools/mpm_debug.py
index dff1c78bd..b1f0b28a2 100755
--- a/mpm/tools/mpm_debug.py
+++ b/mpm/tools/mpm_debug.py
@@ -56,7 +56,7 @@ def echo(address, port):
sock = socket.socket(
socket.AF_INET,
socket.SOCK_DGRAM)
- message = "MPM-ECHO" + bytearray(random.getrandbits(8) for _ in xrange(8000-8))
+ message = "MPM-ECHO" + bytearray(random.getrandbits(8) for _ in range(8000-8))
sock.sendto(message, (address, port))
sock.settimeout(0.05) # wait max 50 ms
while True: