Mark Sapiro wrote: >in _prodServerConnection(), you can't do > > if ping(self.connection) == 0: > >you need to do > > if self.connection.ping() == 0:
If looked at this a bit more closely, and it turns out not to be quite that simple. The major issue is the way things currently exist in your MysqlMemberships.py, rev 19, 'connection' is a local variable in the MysqlMemberships class __init__ method. It is not visible to _prodServerConnection() at all. I've made a few changes to MysqlMemberships.py, rev 19 which I _think_ will make it work. I did a test of a highly stripped down version which worked, but this didn't come close to the real thing. My suggestions are attached as MysqlMemberships19.patch. -- Mark Sapiro <[EMAIL PROTECTED]> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan
MysqlMemberships19.patch
Description: Binary data
_______________________________________________ Mailman-Developers mailing list Mailman-Developers@python.org http://mail.python.org/mailman/listinfo/mailman-developers Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/ Unsubscribe: http://mail.python.org/mailman/options/mailman-developers/archive%40jab.org Security Policy: http://www.python.org/cgi-bin/faqw-mm.py?req=show&file=faq01.027.htp