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/iwokkel.py

    r193 r240  
    1212from zope.interface import Interface
    1313from twisted.python.deprecate import deprecatedModuleAttribute
    14 from twisted.python.versions import Version
    1514from twisted.words.protocols.jabber.ijabber import IXMPPHandler
    1615from twisted.words.protocols.jabber.ijabber import IXMPPHandlerCollection
    1716
     17from incremental import Version
     18
    1819deprecatedModuleAttribute(
    19         Version("Wokkel", 0, 7, 0),
     20        Version("wokkel", 0, 7, 0),
    2021        "Use twisted.words.protocols.jabber.ijabber.IXMPPHandler instead.",
    2122        __name__,
     
    2324
    2425deprecatedModuleAttribute(
    25         Version("Wokkel", 0, 7, 0),
     26        Version("wokkel", 0, 7, 0),
    2627        "Use twisted.words.protocols.jabber.ijabber.IXMPPHandlerCollection "
    2728                "instead.",
Note: See TracChangeset for help on using the changeset viewer.