|
@ -51,7 +51,7 @@ def xmlpopulate( node, srcobj ): |
|
|
else: |
|
|
else: |
|
|
encoded = unicode(val) |
|
|
encoded = unicode(val) |
|
|
if "\x00" in encoded: # user::context. no kidding. complain to pcgod plzkthx. |
|
|
if "\x00" in encoded: # user::context. no kidding. complain to pcgod plzkthx. |
|
|
node.set( key, base64.encode( encoded ) ) |
|
|
|
|
|
|
|
|
node.set( key, base64.encodestring( encoded ) ) |
|
|
else: |
|
|
else: |
|
|
node.set( key, encoded ) |
|
|
node.set( key, encoded ) |
|
|
|
|
|
|
|
|