Ignore:
Timestamp:
Mar 5, 2018, 5:12:30 PM (4 years ago)
Author:
Ralph Meijer <ralphm@…>
Branch:
default
committer:
Ralph Meijer <ralphm@ik.nu> 1520266418 -3600
hg-git-rename-source:
git
Message:

Use incremental instead of t.p.versions everywhere

twisted.python.versions is a precursor of the incremental library
but isn't fully API compatible. This caused breakage with older Twisted
versions. Switching to incremental everywhere resolves this. Also fix
the version to at least 16.9.0, which introduced the release_candidate
parameter.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • wokkel/generic.py

    r238 r240  
    1515from twisted.python import reflect
    1616from twisted.python.deprecate import deprecated
    17 from twisted.python.versions import Version
    1817from twisted.words.protocols.jabber import error, jid, xmlstream
    1918from twisted.words.protocols.jabber.xmlstream import toResponse
    2019from twisted.words.xish import domish, utility
    2120from twisted.words.xish.xmlstream import BootstrapMixin
     21
     22from incremental import Version
    2223
    2324from wokkel.iwokkel import IDisco
     
    335336
    336337
    337 @deprecated(Version("Wokkel", 18, 0, 0, release_candidate=3), "unicode.encode('idna')")
     338@deprecated(Version("wokkel", 18, 0, 0, release_candidate=4), "unicode.encode('idna')")
    338339def prepareIDNName(name):
    339340    """
Note: See TracChangeset for help on using the changeset viewer.