summaryrefslogtreecommitdiffstats
path: root/Demo/pdist
diff options
context:
space:
mode:
authorAndrew M. Kuchling <amk@amk.ca>2008-09-13 01:43:28 (GMT)
committerAndrew M. Kuchling <amk@amk.ca>2008-09-13 01:43:28 (GMT)
commit2a9b9cbea08c7c22a328926b0e0719fb197743a0 (patch)
tree51c8930c097a35c97db9cdae6f5af889424cf9bd /Demo/pdist
parente91fcbdf691c687d1195fad342564e0b3442f444 (diff)
downloadcpython-2a9b9cbea08c7c22a328926b0e0719fb197743a0.zip
cpython-2a9b9cbea08c7c22a328926b0e0719fb197743a0.tar.gz
cpython-2a9b9cbea08c7c22a328926b0e0719fb197743a0.tar.bz2
#687648 from Robert Schuppenies: use classic division.
Diffstat (limited to 'Demo/pdist')
-rwxr-xr-xDemo/pdist/cmptree.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Demo/pdist/cmptree.py b/Demo/pdist/cmptree.py
index f6c611f..2f781ab 100755
--- a/Demo/pdist/cmptree.py
+++ b/Demo/pdist/cmptree.py
@@ -197,7 +197,7 @@ def recvfile_real(local, remote, name):
dt = t2-t1
print size, "bytes in", round(dt), "seconds",
if dt:
- print "i.e.", int(size/dt), "bytes/sec",
+ print "i.e.", size//dt, "bytes/sec",
print
remote._recv(id) # ignored