source: ralphm-patches/disco_warning.patch @ 47:f6d222b68f1c

Last change on this file since 47:f6d222b68f1c was 47:f6d222b68f1c, checked in by Ralph Meijer <ralphm@…>, 11 years ago

Many new patches, upstreamed affiliations and worked on pubsub item.
Upstreamed pubsub_manage_affiliations

File size: 832 bytes
  • wokkel/

    # HG changeset patch
    # Parent 2d57501b5c68d776489bdb9558b41c446c7c56f1
    diff -r 2d57501b5c68 -r f9bd41295efe wokkel/
    a b  
     13import warnings
    1315from zope.interface import implements
    1517from twisted.internet import defer
    10911093            if not nodeInfo:
    10921094                return
     1096            if 'meta-data' in nodeInfo and 'type' in nodeInfo:
     1097                warnings.warn("passing node info using key 'meta-data' is deprecated", DeprecationWarning)
    10941098            (nodeType, metaData) = nodeInfo['type'], nodeInfo['meta-data']
    10951099            info.append(disco.DiscoIdentity('pubsub', nodeType))
    10961100            if metaData:
Note: See TracBrowser for help on using the repository browser.