changeset 39:2cc92af0e13a

tmp(wokkel/pubsub): fixed configuration parsing
author Goffi <goffi@goffi.org>
date Mon, 03 Apr 2017 00:13:33 +0200
parents e3e02ead6bde
children 03224edb88af
files wokkel/pubsub.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/wokkel/pubsub.py	Sun Mar 26 16:57:53 2017 +0200
+++ b/wokkel/pubsub.py	Mon Apr 03 00:13:33 2017 +0200
@@ -470,7 +470,7 @@
         Parse optional node configuration form in create request.
         """
         for element in verbElement.parent.elements():
-            if element.uri == NS_PUBSUB_OWNER and element.name == 'configure':
+            if element.uri in (NS_PUBSUB, NS_PUBSUB_OWNER) and element.name == 'configure':
                 form = data_form.findForm(element, NS_PUBSUB_NODE_CONFIG)
                 if form is not None:
                     if form.formType != 'submit':