[Zapp-cvs-commit] ZApp ZApp_MiscData.py,1.30,1.31
Brought to you by:
sspickle
|
From: Steve S. <ssp...@us...> - 2012-09-20 11:24:18
|
Update of /cvsroot/zapp/ZApp
In directory vz-cvs-4.sog:/tmp/cvs-serv14085
Modified Files:
ZApp_MiscData.py
Log Message:
allow none in xml blobs
Index: ZApp_MiscData.py
===================================================================
RCS file: /cvsroot/zapp/ZApp/ZApp_MiscData.py,v
retrieving revision 1.30
retrieving revision 1.31
diff -C2 -d -r1.30 -r1.31
*** ZApp_MiscData.py 3 Oct 2004 11:19:50 -0000 1.30
--- ZApp_MiscData.py 20 Sep 2012 11:24:15 -0000 1.31
***************
*** 66,70 ****
def buildXML(self, commit_now=1):
""" create the XML to represent this object."""
! self.xml = dumps( (self._v_xmlDict,))
if commit_now:
--- 66,70 ----
def buildXML(self, commit_now=1):
""" create the XML to represent this object."""
! self.xml = dumps( (self._v_xmlDict,), allow_none=True)
if commit_now:
|