summaryrefslogtreecommitdiffstats
path: root/Tools/demo/rpythond.py
diff options
context:
space:
mode:
Diffstat (limited to 'Tools/demo/rpythond.py')
-rwxr-xr-xTools/demo/rpythond.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Tools/demo/rpythond.py b/Tools/demo/rpythond.py
index a885b3e..a18de13 100755
--- a/Tools/demo/rpythond.py
+++ b/Tools/demo/rpythond.py
@@ -29,7 +29,7 @@ def main():
with conn:
print('connection from', remotehost, remoteport)
request = b''
- while 1:
+ while True:
data = conn.recv(BUFSIZE)
if not data:
break