diff src/plugins/plugin_xep_0277.py @ 2413:70399d1acb47

tmp: removed sat.tmp hierarchy and fixed references to it as it is now an independant sat_tmp repository
author Goffi <goffi@goffi.org>
date Fri, 03 Nov 2017 14:19:10 +0100
parents f57a8eaec8ed
children 8b37a62336c3
line wrap: on
line diff
--- a/src/plugins/plugin_xep_0277.py	Tue Oct 31 23:51:19 2017 +0100
+++ b/src/plugins/plugin_xep_0277.py	Fri Nov 03 14:19:10 2017 +0100
@@ -32,7 +32,7 @@
 from sat.tools import utils
 from sat.tools.common import data_format
 
-# XXX: tmp.pubsub is actually used instead of wokkel version
+# XXX: sat_tmp.wokkel.pubsub is actually used instead of wokkel version
 from wokkel import pubsub
 from wokkel import disco, iwokkel
 from zope.interface import implements
@@ -662,7 +662,7 @@
         @param access: Node access model, according to xep-0060 #4.5
         @param profile_key: profile key
         """
-        # FIXME: check if this mehtod is needed, deprecate it if not
+        # FIXME: check if this mehtod is need, deprecate it if not
         client = self.host.getClient(profile_key)
 
         _options = {self._p.OPT_ACCESS_MODEL: access, self._p.OPT_PERSIST_ITEMS: 1, self._p.OPT_MAX_ITEMS: -1, self._p.OPT_DELIVER_PAYLOADS: 1, self._p.OPT_SEND_ITEM_SUBSCRIBE: 1}