dabo Commit
Revision 3083
Date: 2007-04-24 12:09:17 -0700 (Tue, 24 Apr 2007)
Author: Ed
Trac: http://svn.dabodev.com/trac/dabo/changeset/3083
Changed:
U trunk/dabo/lib/connParser.py
Log:
Fixed a bug introduced by an overzealous changing of the 'port' attribute of a
connection from string to int. In this code, since it's coming from XML, it
needs to be a string.
Diff:
Modified: trunk/dabo/lib/connParser.py
===================================================================
--- trunk/dabo/lib/connParser.py 2007-04-24 18:39:02 UTC (rev 3082)
+++ trunk/dabo/lib/connParser.py 2007-04-24 19:09:17 UTC (rev 3083)
@@ -17,7 +17,7 @@
"database" : "",
"user" : "",
"password" : "",
- "port" : 3306
+ "port" : ""
}
self.currDict = self.blankConn.copy()
self.element = None
@@ -34,6 +34,8 @@
def characters(self, content):
if self.element:
if self.currDict.has_key(self.element):
+ print "ADDING CONTENT", content
+ print "\tto:", self.currDict[self.element]
self.currDict[self.element] += content
_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-dev
Searchable Archives: http://leafe.com/archives/search/dabo-dev
This message: http://leafe.com/archives/byMID/dabo-dev/[EMAIL PROTECTED]