Ignore:
Timestamp:
Oct 3, 2016, 8:49:10 AM (4 years ago)
Author:
Ralph Meijer <ralphm@…>
Branch:
default
rebase_source:
c3bf991ad5b37cfbd90262c6991f0686b0eefbe3
Message:

imported patch py3-generic.patch

File:
1 edited

Legend:

Unmodified
Added
Removed
  • wokkel/generic.py

    r194 r195  
    77Generic XMPP protocol helpers.
    88"""
     9
     10from __future__ import division, absolute_import
    911
    1012from zope.interface import implementer
     
    113115        iq.handled = True
    114116
    115     def getDiscoInfo(self, requestor, target, node):
     117    def getDiscoInfo(self, requestor, target, nodeIdentifier=''):
    116118        info = set()
    117119
    118         if not node:
     120        if not nodeIdentifier:
    119121            from wokkel import disco
    120122            info.add(disco.DiscoFeature(NS_VERSION))
     
    122124        return defer.succeed(info)
    123125
    124     def getDiscoItems(self, requestor, target, node):
     126    def getDiscoItems(self, requestor, target, nodeIdentifier=''):
    125127        return defer.succeed([])
    126128
Note: See TracChangeset for help on using the changeset viewer.