[py-svn] r35594 - py/dist/py

arigo at codespeak.net arigo at codespeak.net
Mon Dec 11 19:48:48 CET 2006


Author: arigo
Date: Mon Dec 11 19:48:47 2006
New Revision: 35594

Modified:
   py/dist/py/initpkg.py
Log:
Add an XXX about shahexdigest()'s bugs.


Modified: py/dist/py/initpkg.py
==============================================================================
--- py/dist/py/initpkg.py	(original)
+++ py/dist/py/initpkg.py	Mon Dec 11 19:48:47 2006
@@ -119,6 +119,8 @@
             return cache[0]
         from sha import sha
         sum = sha()
+        # XXX the checksum depends on the order in which visit() enumerates
+        # the files, and it doesn't depend on the file names and paths
         for x in self._iterfiles():
             sum.update(x.read())
         cache.append(sum.hexdigest())


More information about the py-svn mailing list