[Zapp-cvs-commit] ZApp ZApp_MiscData.py,1.14,1.15
Brought to you by:
sspickle
|
From: <ssp...@us...> - 2003-07-31 05:11:50
|
Update of /cvsroot/zapp/ZApp
In directory sc8-pr-cvs1:/tmp/cvs-serv24800
Modified Files:
ZApp_MiscData.py
Log Message:
watch out for misc data values that try to marshal 'None'. xmlrpclib really doesn't care for that!
Index: ZApp_MiscData.py
===================================================================
RCS file: /cvsroot/zapp/ZApp/ZApp_MiscData.py,v
retrieving revision 1.14
retrieving revision 1.15
diff -C2 -d -r1.14 -r1.15
*** ZApp_MiscData.py 3 Jul 2003 22:30:02 -0000 1.14
--- ZApp_MiscData.py 31 Jul 2003 04:55:21 -0000 1.15
***************
*** 362,367 ****
if typecode:
value = self.applyTypeConverter(typecode, value, args)
- result[attr] = value
return result
--- 362,369 ----
if typecode:
value = self.applyTypeConverter(typecode, value, args)
+
+ if value is not None:
+ result[attr] = value
return result
***************
*** 379,383 ****
if val:
val = `val`
!
result[p['id']] = val
--- 381,387 ----
if val:
val = `val`
! elif val is None:
! val = ''
!
result[p['id']] = val
|