source: ralphm-patches/py3-shim.patch

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

Start port to Python 3.

File size: 743 bytes
  • wokkel/shim.py

    # HG changeset patch
    # Parent  e3ad7d794f8f7df99807bd069eff857630050acf
    
    diff --git a/wokkel/shim.py b/wokkel/shim.py
    a b  
    1010U{XEP-0131<http://xmpp.org/extensions/xep-0131.html>}.
    1111"""
    1212
     13from __future__ import division, absolute_import
     14
     15from twisted.python.compat import unicode
    1316from twisted.words.xish import domish
    1417
    1518NS_SHIM = "http://jabber.org/protocol/shim"
  • wokkel/test/test_shim.py

    diff --git a/wokkel/test/test_shim.py b/wokkel/test/test_shim.py
    a b  
    77Tests for {wokkel.shim}.
    88"""
    99
     10from twisted.python.compat import unicode
    1011from twisted.trial import unittest
     12
    1113from wokkel import shim
    1214from wokkel.generic import parseXml
    1315
Note: See TracBrowser for help on using the repository browser.