- Timestamp:
- 09/29/07 21:24:40 (1 year ago)
- Files:
-
- pypicache/trunk/ChangeLog (modified) (1 diff)
- pypicache/trunk/indexpackages.py (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
pypicache/trunk/ChangeLog
r620 r805 1 1 .. _tickets: http://trac.wiretooth.com/public/ticket/ 2 2 .. _ticket: http://trac.wiretooth.com/public/ticket/ 3 4 2007-09-29 Robin Bryce robinbryce@gmail.com 5 * Open distribution archives as 'binary mode files', this fixes a bug 6 with digest verification for windows users. Thanks to Christophe 7 Alexandre for both reporting the problem and for providing the fix. 3 8 4 9 2007-04-21 Robin Bryce robinbryce@gmail.com pypicache/trunk/indexpackages.py
r620 r805 204 204 distributions.add(dist_name) 205 205 dist_added.append(dist) 206 content = file(abs_eggfn ).read()206 content = file(abs_eggfn, 'rb').read() 207 207 md5_digest = md5(content).hexdigest() 208 208 project_distributions.setdefault(dist.project_name, []).append( … … 267 267 268 268 md5_digest = md5( 269 file(join(dirpath, candidate )).read()269 file(join(dirpath, candidate, 'rb')).read() 270 270 ).hexdigest() 271 271 project_distributions.setdefault(