comparison tests/md5sum.py @ 3223:53e843840349

Whitespace/Tab cleanup
author Thomas Arendsen Hein <thomas@intevation.de>
date Sun, 01 Oct 2006 19:26:33 +0200
parents 50e1c90b0fcf
children 306055f5b65c
comparison
equal deleted inserted replaced
3222:a5603ad915c5 3223:53e843840349
14 try: 14 try:
15 fp = open(filename, 'rb') 15 fp = open(filename, 'rb')
16 except IOError, msg: 16 except IOError, msg:
17 sys.stderr.write('%s: Can\'t open: %s\n' % (filename, msg)) 17 sys.stderr.write('%s: Can\'t open: %s\n' % (filename, msg))
18 sys.exit(1) 18 sys.exit(1)
19 19
20 m = md5.new() 20 m = md5.new()
21 try: 21 try:
22 while 1: 22 while 1:
23 data = fp.read(8192) 23 data = fp.read(8192)
24 if not data: 24 if not data: