From montanaro at users.sourceforge.net Tue Feb 21 03:52:04 2006 From: montanaro at users.sourceforge.net (Skip Montanaro) Date: Mon, 20 Feb 2006 18:52:04 -0800 Subject: [Spambayes-checkins] spambayes/spambayes storage.py,1.57,1.58 Message-ID: <20060221033323.00EA91E4008@bag.python.org> Update of /cvsroot/spambayes/spambayes/spambayes In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv2966 Modified Files: storage.py Log Message: Obvious correction to mysql init - thanks to Mike Miskulin Index: storage.py =================================================================== RCS file: /cvsroot/spambayes/spambayes/spambayes/storage.py,v retrieving revision 1.57 retrieving revision 1.58 diff -C2 -d -r1.57 -r1.58 *** storage.py 28 Nov 2005 10:51:44 -0000 1.57 --- storage.py 21 Feb 2006 02:52:02 -0000 1.58 *************** *** 525,529 **** self.username = info[5:] elif info.startswith("pass"): ! self.username = info[5:] elif info.startswith("dbname"): db_name = info[7:] --- 525,529 ---- self.username = info[5:] elif info.startswith("pass"): ! self.password = info[5:] elif info.startswith("dbname"): db_name = info[7:] From anadelonbrin at users.sourceforge.net Tue Feb 28 09:11:42 2006 From: anadelonbrin at users.sourceforge.net (Tony Meyer) Date: Tue, 28 Feb 2006 00:11:42 -0800 Subject: [Spambayes-checkins] spambayes/windows/py2exe setup_all.py, 1.25, 1.26 Message-ID: <20060228083807.ECF2C1E4008@bag.python.org> Update of /cvsroot/spambayes/spambayes/windows/py2exe In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv4530/windows/py2exe Modified Files: setup_all.py Log Message: py2exe 0.6.4 introduces a new modulefinder, so our package paths have to be added to that, rather than the built-in modulefinder. If 0.6.4 isn't installed, then just use the old system. Index: setup_all.py =================================================================== RCS file: /cvsroot/spambayes/spambayes/windows/py2exe/setup_all.py,v retrieving revision 1.25 retrieving revision 1.26 diff -C2 -d -r1.25 -r1.26 *** setup_all.py 27 Nov 2005 00:42:11 -0000 1.25 --- setup_all.py 28 Feb 2006 08:11:40 -0000 1.26 *************** *** 19,23 **** # particularly for people who build from sources. Hook this in. try: ! import modulefinder import win32com for p in win32com.__path__[1:]: --- 19,30 ---- # particularly for people who build from sources. Hook this in. try: ! # py2exe 0.6.4 introduced a replacement modulefinder. ! # This means we have to add package paths there, not to the built-in ! # one. If this new modulefinder gets integrated into Python, then ! # we might be able to revert this some day. ! try: ! import py2exe.mf as modulefinder ! except ImportError: ! import modulefinder import win32com for p in win32com.__path__[1:]: