From d8c96623022835dece47e499245369aa68927300 Mon Sep 17 00:00:00 2001 From: Lance Stout Date: Thu, 14 Feb 2013 01:24:09 -0800 Subject: Resolve most Python3.3 related issues. Tests now run successfully. Occasionally get single error related to duplicated payload data in pubsub items when copying stanza values. --- sleekxmpp/plugins/xep_0060/stanza/pubsub_owner.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'sleekxmpp/plugins/xep_0060/stanza/pubsub_owner.py') diff --git a/sleekxmpp/plugins/xep_0060/stanza/pubsub_owner.py b/sleekxmpp/plugins/xep_0060/stanza/pubsub_owner.py index 4a35db9d..c10ac762 100644 --- a/sleekxmpp/plugins/xep_0060/stanza/pubsub_owner.py +++ b/sleekxmpp/plugins/xep_0060/stanza/pubsub_owner.py @@ -34,7 +34,8 @@ class DefaultConfig(ElementBase): return self['form'] def set_config(self, value): - self['form'].values = value.values + del self['from'] + self.append(value) return self -- cgit v1.2.3