source: ralphm-patches/py3-iwokkel.patch @ 78:361e2111a663

Last change on this file since 78:361e2111a663 was 78:361e2111a663, checked in by Ralph Meijer <ralphm@…>, 6 years ago

Start port to Python 3.

File size: 1.1 KB
  • wokkel/iwokkel.py

    # HG changeset patch
    # Parent  14d563f20f98e4555804c911fbd129ec1a130ff6
    
    diff --git a/wokkel/iwokkel.py b/wokkel/iwokkel.py
    a b  
    77Wokkel interfaces.
    88"""
    99
    10 __all__ = ['IXMPPHandler', 'IXMPPHandlerCollection',
    11            'IPubSubClient', 'IPubSubService', 'IPubSubResource',
    12            'IMUCClient', 'IMUCStatuses']
     10from __future__ import division, absolute_import
    1311
    1412from zope.interface import Interface
    1513from twisted.python.deprecate import deprecatedModuleAttribute
     
    982980        """
    983981        Return the number of status conditions.
    984982        """
     983
     984
     985
     986__all__ = ['IXMPPHandler', 'IXMPPHandlerCollection',
     987           'IPubSubClient', 'IPubSubService', 'IPubSubResource',
     988           'IMUCClient', 'IMUCStatuses']
  • wokkel/test/test_iwokkel.py

    diff --git a/wokkel/test/test_iwokkel.py b/wokkel/test/test_iwokkel.py
    a b  
    55Tests for L{wokkel.iwokkel}
    66"""
    77
     8from __future__ import division, absolute_import
     9
    810from twisted.trial import unittest
    911
    1012class DeprecationTest(unittest.TestCase):
Note: See TracBrowser for help on using the repository browser.