tmp: removed sat.tmp hierarchy and fixed references to it as it is now an independant sat_tmp repository
This commit is contained in:
parent
4809f9aa38
commit
a5f28ef7dd
16 changed files with 11 additions and 7660 deletions
|
|
@ -1,7 +1,7 @@
|
|||
# FIXME: remove this when RSM and MAM are in wokkel
|
||||
# XXX: the Monkey Patch is here and not in src/__init__ to avoir issues with pyjamas compilation
|
||||
import wokkel
|
||||
from sat.tmp.wokkel import pubsub as tmp_pubsub, rsm as tmp_rsm, mam as tmp_mam
|
||||
from sat_tmp.wokkel import pubsub as tmp_pubsub, rsm as tmp_rsm, mam as tmp_mam
|
||||
wokkel.pubsub = tmp_pubsub
|
||||
wokkel.rsm = tmp_rsm
|
||||
wokkel.mam = tmp_mam
|
||||
|
|
|
|||
|
|
@ -33,8 +33,8 @@ from collections import namedtuple
|
|||
import urllib
|
||||
import datetime
|
||||
from dateutil import tz
|
||||
# XXX: tmp.wokkel.pubsub is actually use instead of wokkel version
|
||||
# mam and rsm come from tmp.wokkel too
|
||||
# XXX: sat_tmp.wokkel.pubsub is actually use instead of wokkel version
|
||||
# mam and rsm come from sat_tmp.wokkel too
|
||||
from wokkel import pubsub
|
||||
from wokkel import rsm
|
||||
from wokkel import mam
|
||||
|
|
|
|||
|
|
@ -32,7 +32,7 @@ from sat.tools import sat_defer
|
|||
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 @@ class XEP_0277(object):
|
|||
@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}
|
||||
|
|
|
|||
|
|
@ -31,7 +31,7 @@ from zope.interface import implements
|
|||
from wokkel import disco
|
||||
import uuid
|
||||
|
||||
# XXX: mam and rsm come from tmp.wokkel
|
||||
# XXX: mam and rsm come from sat_tmp.wokkel
|
||||
from wokkel import rsm
|
||||
from wokkel import mam
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue