plugins blog import, tickets import, XEP-0277: fixed call to getCommentsService (it is now returning a Deferred)
This commit is contained in:
parent
a6e55a6c56
commit
a014e6a873
1 changed files with 8 additions and 5 deletions
|
|
@ -123,7 +123,8 @@ class TicketsImportPlugin(object):
|
|||
# TODO: handle "private" metadata, to have non public access for node
|
||||
# TODO: node access/publish model should be customisable
|
||||
comments = ticket_data.get('comments', [])
|
||||
service, node = self._m.getCommentsService(client), self._m.getCommentsNode(session['root_node'] + u'_' + ticket_data['id'])
|
||||
service = yield self._m.getCommentsService(client)
|
||||
node = self._m.getCommentsNode(session['root_node'] + u'_' + ticket_data['id'])
|
||||
node_options = {self._p.OPT_ACCESS_MODEL: self._p.ACCESS_OPEN,
|
||||
self._p.OPT_PERSIST_ITEMS: 1,
|
||||
self._p.OPT_MAX_ITEMS: -1,
|
||||
|
|
|
|||
Loading…
Reference in a new issue