#687648 from Robert Schuppenies: use classic division. From me: remove two stray semicolons

This commit is contained in:
Andrew M. Kuchling 2008-09-13 01:42:55 +00:00
parent 8bd9a2f7db
commit e91fcbdf69
1 changed files with 2 additions and 2 deletions

View File

@ -32,7 +32,7 @@ def MDTimeTrial():
filsiz = 1 << 8
filler = makestr(0, filsiz-1)
data = filler * (TEST_BLOCK_SIZE / filsiz);
data = filler * (TEST_BLOCK_SIZE // filsiz)
data = data + filler[:(TEST_BLOCK_SIZE % filsiz)]
del filsiz, filler
@ -62,7 +62,7 @@ def MDString(str):
def MDFile(filename):
f = open(filename, 'rb');
f = open(filename, 'rb')
mdContext = md5.new()
while 1: