Test publishing a single item.

This commit is contained in:
Lance Stout
2011-08-31 14:31:20 -07:00
parent 3623a7a16a
commit 09252baa71
2 changed files with 37 additions and 3 deletions

View File

@@ -92,7 +92,8 @@ class Item(ElementBase):
plugin_tag_map = {}
def setPayload(self, value):
self.xml.append(value)
del self['payload']
self.append(value)
def getPayload(self):
childs = self.xml.getchildren()