source:
ralphm-patches/disco_warning.patch
@
83:255aae0cf8c5
Last change on this file since 83:255aae0cf8c5 was 57:0d8b6cf41728, checked in by Ralph Meijer <ralphm@…>, 10 years ago | |
---|---|
File size: 813 bytes |
-
wokkel/pubsub.py
# HG changeset patch # Parent 46b33f13f14214ec900a189348a21824d915212a diff -r 46b33f13f142 wokkel/pubsub.py
a b 10 10 U{XEP-0060<http://xmpp.org/extensions/xep-0060.html>}. 11 11 """ 12 12 13 import warnings 14 13 15 from zope.interface import implements 14 16 15 17 from twisted.internet import defer … … 1103 1105 if not nodeInfo: 1104 1106 return 1105 1107 1108 if 'meta-data' in nodeInfo and 'type' in nodeInfo: 1109 warnings.warn("passing node info using key 'meta-data' is deprecated", DeprecationWarning) 1106 1110 (nodeType, metaData) = nodeInfo['type'], nodeInfo['meta-data'] 1107 1111 info.append(disco.DiscoIdentity('pubsub', nodeType)) 1108 1112 if metaData:
Note: See TracBrowser
for help on using the repository browser.