changeset 201:d829db6095d6

Make sure that item elements lose their namespace before storage, notification.
author Ralph Meijer <ralphm@ik.nu>
date Tue, 24 Jun 2008 08:42:16 +0000
parents 2189c663ba44
children 77c61e2b8c75
files idavoll/backend.py
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/idavoll/backend.py	Tue Jun 10 18:40:04 2008 +0000
+++ b/idavoll/backend.py	Tue Jun 24 08:42:16 2008 +0000
@@ -147,6 +147,8 @@
 
         if persistItems or deliverPayloads:
             for item in items:
+                item.uri = None
+                item.defaultUri = None
                 if not item.getAttribute("id"):
                     item["id"] = str(uuid.uuid4())