Update of /cvsroot/spambayes/spambayes
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv21289
Modified Files:
setup.py
Log Message:
Fix bug found by Barry.
Don't re-use global variable names!
Index: setup.py
===================================================================
RCS file: /cvsroot/spambayes/spambayes/setup.py,v
retrieving revision 1.31
retrieving revision 1.32
diff -C2 -d -r1.31 -r1.32
*** setup.py 30 Nov 2004 23:00:11 -0000 1.31
--- setup.py 6 Dec 2004 03:04:17 -0000 1.32
***************
*** 75,85 ****
import distutils.command.sdist
! parent = distutils.command.sdist.sdist
! class sdist(parent):
"""Like the standard sdist, but also prints out MD5 checksums and sizes
for the created files, for convenience."""
def run(self):
import md5
! retval = parent.run(self)
for archive in self.get_archive_files():
data = file(archive, "rb").read()
--- 75,85 ----
import distutils.command.sdist
! sdist_parent = distutils.command.sdist.sdist
! class sdist(sdist_parent):
"""Like the standard sdist, but also prints out MD5 checksums and sizes
for the created files, for convenience."""
def run(self):
import md5
! retval = sdist_parent.run(self)
for archive in self.get_archive_files():
data = file(archive, "rb").read()
_______________________________________________
Spambayes-checkins mailing list
[EMAIL PROTECTED]
http://mail.python.org/mailman/listinfo/spambayes-checkins