telepathy-gabble: jingletest2: make classes new-style

Will Thompson wjt at kemper.freedesktop.org
Thu Dec 6 04:46:04 PST 2012


Module: telepathy-gabble
Branch: master
Commit: a6b807a29ec90046327a937c15bfe37e9f1fb6c9
URL:    http://cgit.freedesktop.org/telepathy/telepathy-gabble/commit/?id=a6b807a29ec90046327a937c15bfe37e9f1fb6c9

Author: Will Thompson <will.thompson at collabora.co.uk>
Date:   Fri Nov 23 18:36:35 2012 +0000

jingletest2: make classes new-style

---

 tests/twisted/jingle/jingletest2.py |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/tests/twisted/jingle/jingletest2.py b/tests/twisted/jingle/jingletest2.py
index 8016103..74133c4 100644
--- a/tests/twisted/jingle/jingletest2.py
+++ b/tests/twisted/jingle/jingletest2.py
@@ -17,7 +17,7 @@ import ns
 import os
 import constants as cs
 
-class JingleProtocol:
+class JingleProtocol(object):
     """
     Defines a simple DSL for constructing Jingle messages.
     """
@@ -496,7 +496,7 @@ class JingleProtocol031(JingleProtocol):
 
         return (self._extract_session_id(query), audio, video)
 
-class JingleTest2:
+class JingleTest2(object):
     # Default caps for the remote end
     remote_caps = { 'ext': '', 'ver': '0.0.0',
              'node': 'http://example.com/fake-client0' }



More information about the telepathy-commits mailing list