diff --git a/frontends/sortilege_old/boxsizer.py b/frontends/sortilege_old/boxsizer.py
index be50d7b8..87ab1f9c 100644
--- a/frontends/sortilege_old/boxsizer.py
+++ b/frontends/sortilege_old/boxsizer.py
@@ -23,7 +23,7 @@ along with this program. If not, see .
from window import Window
import os,pdb
-class BoxSizer:
+class BoxSizer(object):
"""This class manage the position of the window like boxes."""
diff --git a/frontends/sortilege_old/window.py b/frontends/sortilege_old/window.py
index 39472d60..962a4a83 100644
--- a/frontends/sortilege_old/window.py
+++ b/frontends/sortilege_old/window.py
@@ -25,7 +25,7 @@ import os
import pdb
-class Window():
+class Window(object):
def __init__(self, parent, height, width, y, x, border=False, title="", code="utf-8"):
self.__border=border
self.__title=title
diff --git a/frontends/src/jp/jp b/frontends/src/jp/jp
index 9e7a75c3..bc439fff 100755
--- a/frontends/src/jp/jp
+++ b/frontends/src/jp/jp
@@ -70,7 +70,7 @@ except ImportError, e:
-class JP():
+class JP(object):
def __init__(self):
try:
self.bridge=DBusBridgeFrontend()
diff --git a/frontends/src/primitivus/notify.py b/frontends/src/primitivus/notify.py
index 93fbd623..5b3e25ba 100644
--- a/frontends/src/primitivus/notify.py
+++ b/frontends/src/primitivus/notify.py
@@ -21,7 +21,7 @@ along with this program. If not, see .
import dbus
-class Notify:
+class Notify(object):
"""Used to send notification and detect if we have focus"""
def __init__(self):
diff --git a/frontends/src/quick_frontend/quick_card_game.py b/frontends/src/quick_frontend/quick_card_game.py
index 3ed9c48c..d3c39955 100644
--- a/frontends/src/quick_frontend/quick_card_game.py
+++ b/frontends/src/quick_frontend/quick_card_game.py
@@ -24,7 +24,7 @@ from sat.tools.jid import JID
-class QuickCardGame():
+class QuickCardGame(object):
def __init__(self, parent, referee, players, player_nick):
self._autoplay = None #XXX: use 0 to activate fake play, None else
diff --git a/frontends/src/quick_frontend/quick_chat.py b/frontends/src/quick_frontend/quick_chat.py
index 70e696da..eb41ec39 100644
--- a/frontends/src/quick_frontend/quick_chat.py
+++ b/frontends/src/quick_frontend/quick_chat.py
@@ -24,7 +24,7 @@ from sat.tools.jid import JID
from sat_frontends.quick_frontend.quick_utils import unescapePrivate
-class QuickChat():
+class QuickChat(object):
def __init__(self, target, host, type='one2one'):
self.target = target
diff --git a/frontends/src/quick_frontend/quick_contact_list.py b/frontends/src/quick_frontend/quick_contact_list.py
index f8d96f7d..b1fd3a1b 100644
--- a/frontends/src/quick_frontend/quick_contact_list.py
+++ b/frontends/src/quick_frontend/quick_contact_list.py
@@ -22,7 +22,7 @@ along with this program. If not, see .
from logging import debug
-class QuickContactList():
+class QuickContactList(object):
"""This class manage the visual representation of contacts"""
def __init__(self):
diff --git a/frontends/src/quick_frontend/quick_contact_management.py b/frontends/src/quick_frontend/quick_contact_management.py
index 86a55647..bb2bdbd5 100644
--- a/frontends/src/quick_frontend/quick_contact_management.py
+++ b/frontends/src/quick_frontend/quick_contact_management.py
@@ -24,7 +24,7 @@ from sat.tools.jid import JID
import pdb
-class QuickContactManagement():
+class QuickContactManagement(object):
"""This helper class manage the contacts and ease the use of nicknames and shortcuts"""
### FIXME: is SàT a better place for all this stuff ??? ###
diff --git a/frontends/src/quick_frontend/quick_gateways.py b/frontends/src/quick_frontend/quick_gateways.py
index 2da64ceb..b8c81f61 100644
--- a/frontends/src/quick_frontend/quick_gateways.py
+++ b/frontends/src/quick_frontend/quick_gateways.py
@@ -22,7 +22,7 @@ along with this program. If not, see .
-class QuickGatewaysManager():
+class QuickGatewaysManager(object):
def __init__(self, host, gateways, title=_("Gateways manager"), server=None):
diff --git a/frontends/src/wix/quiz_game.py b/frontends/src/wix/quiz_game.py
index f0fa5d80..376a9cc2 100644
--- a/frontends/src/wix/quiz_game.py
+++ b/frontends/src/wix/quiz_game.py
@@ -34,7 +34,7 @@ CARD_HEIGHT = 136
WIDTH = 800
HEIGHT = 600
-class GraphicElement():
+class GraphicElement(object):
"""This class is used to represent a card, graphically and logically"""
def __init__(self, file, x=0, y=0, zindex=10, transparent=True):
diff --git a/src/bridge/bridge_constructor/bridge_contructor.py b/src/bridge/bridge_constructor/bridge_contructor.py
index f395333f..c8398020 100755
--- a/src/bridge/bridge_constructor/bridge_contructor.py
+++ b/src/bridge/bridge_constructor/bridge_contructor.py
@@ -56,7 +56,7 @@ class ParseError(Exception):
#Used when the signature parsing is going wrong (invalid signature ?)
pass
-class Constructor:
+class Constructor(object):
def __init__(self, bridge_template, options):
self.bridge_template = bridge_template
@@ -561,7 +561,7 @@ class DbusXmlConstructor(Constructor):
class ConstructorError(Exception):
pass
-class ConstructorFactory:
+class ConstructorFactory(object):
def create(self, bridge_template, options):
if options.protocole=='dbus':
return DbusConstructor(bridge_template, options)
@@ -572,7 +572,7 @@ class ConstructorFactory:
raise ConstructorError('Unknown constructor type')
-class BridgeConstructor:
+class BridgeConstructor(object):
def __init__(self):
self.options = None
diff --git a/src/memory/memory.py b/src/memory/memory.py
index 4d067a35..bfd97cf3 100644
--- a/src/memory/memory.py
+++ b/src/memory/memory.py
@@ -37,7 +37,7 @@ SAVEFILE_PARAM_XML="/param" #xml parameters template
SAVEFILE_DATABASE="/sat.db"
-class Params():
+class Params(object):
"""This class manage parameters with xml"""
### TODO: add desciption in params
@@ -528,7 +528,7 @@ class Params():
self.host.bridge.paramUpdate(name, value, category, profile)
self.storage.setIndParam(category, name, value, profile)
-class Memory:
+class Memory(object):
"""This class manage all persistent informations"""
def __init__(self, host):
diff --git a/src/memory/persistent.py b/src/memory/persistent.py
index 8c58a0d4..e8813470 100644
--- a/src/memory/persistent.py
+++ b/src/memory/persistent.py
@@ -24,7 +24,7 @@ from logging import debug, info, warning, error
class MemoryNotInitializedError(Exception):
pass
-class PersistentDict:
+class PersistentDict(object):
"""A dictionary which save persistently each value assigned
/!\ be careful, each assignment means a database write
/!\ Memory must be initialised before loading/setting value with instances of this class"""
diff --git a/src/memory/sqlite.py b/src/memory/sqlite.py
index 29562996..1e4dc53b 100644
--- a/src/memory/sqlite.py
+++ b/src/memory/sqlite.py
@@ -27,7 +27,7 @@ import os.path
import time
import cPickle as pickle
-class SqliteStorage():
+class SqliteStorage(object):
"""This class manage storage with Sqlite database"""
diff --git a/src/plugins/deprecated_misc_cs.py b/src/plugins/deprecated_misc_cs.py
index f12fa1a5..0a30ac53 100755
--- a/src/plugins/deprecated_misc_cs.py
+++ b/src/plugins/deprecated_misc_cs.py
@@ -54,7 +54,7 @@ PLUGIN_INFO = {
AGENT = 'Salut à Toi XMPP/CS Plugin'
-class CS_Plugin():
+class CS_Plugin(object):
params = """
diff --git a/src/plugins/plugin_exp_parrot.py b/src/plugins/plugin_exp_parrot.py
index 3413db8d..1a81d8dc 100755
--- a/src/plugins/plugin_exp_parrot.py
+++ b/src/plugins/plugin_exp_parrot.py
@@ -37,7 +37,7 @@ PLUGIN_INFO = {
"description": _("""Implementation of parrot mode (repeat messages between 2 entities)""")
}
-class Exp_Parrot():
+class Exp_Parrot(object):
"""Parrot mode plugin: repeat messages from one entity or MUC room to another one"""
#XXX: This plugin can be potentially dangerous if we don't trust entities linked
# this is specially true if we have other triggers.
diff --git a/src/plugins/plugin_exp_pipe.py b/src/plugins/plugin_exp_pipe.py
index 5d20e2ff..6f5c7d37 100755
--- a/src/plugins/plugin_exp_pipe.py
+++ b/src/plugins/plugin_exp_pipe.py
@@ -44,7 +44,7 @@ PLUGIN_INFO = {
"description": _("""Implementation of SI Pipe Transfer""")
}
-class Exp_Pipe():
+class Exp_Pipe(object):
"""This is a modified version of XEP-0096 to work with named pipes instead of files"""
def __init__(self, host):
diff --git a/src/plugins/plugin_misc_account.py b/src/plugins/plugin_misc_account.py
index bfda8af2..4563b952 100755
--- a/src/plugins/plugin_misc_account.py
+++ b/src/plugins/plugin_misc_account.py
@@ -78,7 +78,7 @@ class ProsodyRegisterProtocol(protocol.ProcessProtocol):
self.deferred.errback("INTERNAL")
-class MiscAccount():
+class MiscAccount(object):
"""Account plugin: create a SàT + Prosody account, used by Libervia"""
#XXX: This plugin is a Q&D one used for the demo. Something more generic (and not
# only focused on Prosody) is planed
diff --git a/src/plugins/plugin_misc_groupblog.py b/src/plugins/plugin_misc_groupblog.py
index 32af124e..64e4bc7a 100755
--- a/src/plugins/plugin_misc_groupblog.py
+++ b/src/plugins/plugin_misc_groupblog.py
@@ -73,7 +73,7 @@ class BadAccessListError(Exception):
class UnknownType(Exception):
pass
-class GroupBlog():
+class GroupBlog(object):
"""This class use a SàT PubSub Service to manage access on microblog"""
def __init__(self, host):
diff --git a/src/plugins/plugin_misc_imap.py b/src/plugins/plugin_misc_imap.py
index 953e5aed..5bf557dd 100755
--- a/src/plugins/plugin_misc_imap.py
+++ b/src/plugins/plugin_misc_imap.py
@@ -49,7 +49,7 @@ PLUGIN_INFO = {
"description": _("""Create an Imap server that you can use to read your "normal" type messages""")
}
-class IMAP_server():
+class IMAP_server(object):
#TODO: connect profile on mailbox request, once password is accepted
params = """
@@ -75,7 +75,7 @@ class IMAP_server():
self.server_factory = ImapServerFactory(self.host)
reactor.listenTCP(port, self.server_factory)
-class Message():
+class Message(object):
implements(imap4.IMessage)
def __init__(self, uid, flags, mess_fp):
@@ -151,7 +151,7 @@ class Message():
return TypeError
-class SatMailbox:
+class SatMailbox(object):
implements(imap4.IMailbox)
def __init__(self,host,name,profile):
@@ -389,7 +389,7 @@ class ImapSatAccount(imap4.MemoryAccount):
return SatMailbox(self.host,name,self.profile)
-class ImapRealm:
+class ImapRealm(object):
implements(portal.IRealm)
def __init__(self,host):
@@ -402,7 +402,7 @@ class ImapRealm:
raise NotImplementedError
return imap4.IAccount, ImapSatAccount(self.host,profile), lambda:None
-class SatProfileCredentialChecker:
+class SatProfileCredentialChecker(object):
"""
This credential checker check against SàT's profile and associated jabber's password
Check if the profile exists, and if the password is OK
diff --git a/src/plugins/plugin_misc_maildir.py b/src/plugins/plugin_misc_maildir.py
index 631cb0fc..63aaee9c 100755
--- a/src/plugins/plugin_misc_maildir.py
+++ b/src/plugins/plugin_misc_maildir.py
@@ -56,7 +56,7 @@ MAILDIR_PATH = "Maildir"
class MaildirError(Exception):
pass
-class MaildirBox():
+class MaildirBox(object):
def __init__(self, host):
info(_("Plugin Maildir initialization"))
@@ -306,7 +306,7 @@ class MaildirBox():
pass
-class MailboxUser:
+class MailboxUser(object):
"""This class is used to access a mailbox"""
def xmppMessage2mail(self, message):
diff --git a/src/plugins/plugin_misc_quiz.py b/src/plugins/plugin_misc_quiz.py
index 774655eb..b5bbcb54 100755
--- a/src/plugins/plugin_misc_quiz.py
+++ b/src/plugins/plugin_misc_quiz.py
@@ -57,7 +57,7 @@ PLUGIN_INFO = {
}
-class Quiz():
+class Quiz(object):
def __init__(self, host):
info(_("Plugin Quiz initialization"))
diff --git a/src/plugins/plugin_misc_radiocol.py b/src/plugins/plugin_misc_radiocol.py
index f0772242..b6111562 100755
--- a/src/plugins/plugin_misc_radiocol.py
+++ b/src/plugins/plugin_misc_radiocol.py
@@ -56,7 +56,7 @@ PLUGIN_INFO = {
QUEUE_LIMIT = 2
-class Radiocol():
+class Radiocol(object):
def __init__(self, host):
info(_("Radio collective initialization"))
diff --git a/src/plugins/plugin_misc_smtp.py b/src/plugins/plugin_misc_smtp.py
index b7ab621a..e52882ed 100755
--- a/src/plugins/plugin_misc_smtp.py
+++ b/src/plugins/plugin_misc_smtp.py
@@ -49,7 +49,7 @@ PLUGIN_INFO = {
"description": _("""Create a SMTP server that you can use to send your "normal" type messages""")
}
-class SMTP_server():
+class SMTP_server(object):
params = """
@@ -74,7 +74,7 @@ class SMTP_server():
self.server_factory = SmtpServerFactory(self.host)
reactor.listenTCP(port, self.server_factory)
-class SatSmtpMessage:
+class SatSmtpMessage(object):
implements(smtp.IMessage)
def __init__(self, host, profile):
@@ -103,7 +103,7 @@ class SatSmtpMessage:
"""handle message truncated"""
raise smtp.SMTPError
-class SatSmtpDelivery:
+class SatSmtpDelivery(object):
implements(smtp.IMessageDelivery)
def __init__(self, host, profile):
@@ -144,7 +144,7 @@ class SatSmtpDelivery:
"""
return origin
-class SmtpRealm:
+class SmtpRealm(object):
implements(portal.IRealm)
def __init__(self,host):
@@ -157,7 +157,7 @@ class SmtpRealm:
raise NotImplementedError
return smtp.IMessageDelivery, SatSmtpDelivery(self.host,profile), lambda:None
-class SatProfileCredentialChecker:
+class SatProfileCredentialChecker(object):
"""
This credential checker check against SàT's profile and associated jabber's password
Check if the profile exists, and if the password is OK
diff --git a/src/plugins/plugin_misc_tarot.py b/src/plugins/plugin_misc_tarot.py
index 49363cc1..1fdb7c4d 100755
--- a/src/plugins/plugin_misc_tarot.py
+++ b/src/plugins/plugin_misc_tarot.py
@@ -54,7 +54,7 @@ PLUGIN_INFO = {
}
-class Tarot():
+class Tarot(object):
def __init__(self, host):
info(_("Plugin Tarot initialization"))
diff --git a/src/plugins/plugin_misc_text_commands.py b/src/plugins/plugin_misc_text_commands.py
index bb4ef3a5..7354bf1b 100755
--- a/src/plugins/plugin_misc_text_commands.py
+++ b/src/plugins/plugin_misc_text_commands.py
@@ -33,7 +33,7 @@ PLUGIN_INFO = {
"description": _("""IRC like text commands""")
}
-class TextCommands():
+class TextCommands(object):
#FIXME: doc strings for commands have to be translatable
# plugins need a dynamic translation system (translation
# should be downloadable independently)
diff --git a/src/plugins/plugin_misc_xmllog.py b/src/plugins/plugin_misc_xmllog.py
index fa647220..22c5d2c3 100755
--- a/src/plugins/plugin_misc_xmllog.py
+++ b/src/plugins/plugin_misc_xmllog.py
@@ -52,7 +52,7 @@ class LoggingXmlStream(XmlStream):
return XmlStream.dataReceived(self, data)
-class XmlLog():
+class XmlLog(object):
params = """
diff --git a/src/plugins/plugin_xep_0020.py b/src/plugins/plugin_xep_0020.py
index 665bb9e9..d153e033 100755
--- a/src/plugins/plugin_xep_0020.py
+++ b/src/plugins/plugin_xep_0020.py
@@ -44,7 +44,7 @@ PLUGIN_INFO = {
"description": _("""Implementation of Feature Negotiation""")
}
-class XEP_0020():
+class XEP_0020(object):
def __init__(self, host):
info(_("Plugin XEP_0020 initialization"))
diff --git a/src/plugins/plugin_xep_0045.py b/src/plugins/plugin_xep_0045.py
index 8b8020f9..1419391f 100755
--- a/src/plugins/plugin_xep_0045.py
+++ b/src/plugins/plugin_xep_0045.py
@@ -49,7 +49,7 @@ PLUGIN_INFO = {
class UnknownRoom(Exception):
pass
-class XEP_0045():
+class XEP_0045(object):
def __init__(self, host):
info(_("Plugin XEP_0045 initialization"))
diff --git a/src/plugins/plugin_xep_0047.py b/src/plugins/plugin_xep_0047.py
index c2251963..244d3e3b 100644
--- a/src/plugins/plugin_xep_0047.py
+++ b/src/plugins/plugin_xep_0047.py
@@ -57,7 +57,7 @@ PLUGIN_INFO = {
"description": _("""Implementation of In-Band Bytestreams""")
}
-class XEP_0047():
+class XEP_0047(object):
NAMESPACE = NS_IBB
def __init__(self, host):
diff --git a/src/plugins/plugin_xep_0054.py b/src/plugins/plugin_xep_0054.py
index 63cf3dae..3ef3148f 100755
--- a/src/plugins/plugin_xep_0054.py
+++ b/src/plugins/plugin_xep_0054.py
@@ -64,7 +64,7 @@ PLUGIN_INFO = {
"description": _("""Implementation of vcard-temp""")
}
-class XEP_0054():
+class XEP_0054(object):
#TODO: - check that nickname is ok
# - refactor the code/better use of Wokkel
# - get missing values
diff --git a/src/plugins/plugin_xep_0060.py b/src/plugins/plugin_xep_0060.py
index 318cfadc..3b3003fa 100755
--- a/src/plugins/plugin_xep_0060.py
+++ b/src/plugins/plugin_xep_0060.py
@@ -40,7 +40,7 @@ PLUGIN_INFO = {
"description": _("""Implementation of PubSub Protocol""")
}
-class XEP_0060():
+class XEP_0060(object):
def __init__(self, host):
info(_("PubSub plugin initialization"))
diff --git a/src/plugins/plugin_xep_0065.py b/src/plugins/plugin_xep_0065.py
index e411bf19..ce94ede2 100755
--- a/src/plugins/plugin_xep_0065.py
+++ b/src/plugins/plugin_xep_0065.py
@@ -439,7 +439,7 @@ class Socks5ClientFactory(protocol.ClientFactory):
self.finishedCb(self.sid, reason.type == jab_error.ConnectionDone, self.profile) #TODO: really check if the state is actually successful
-class XEP_0065():
+class XEP_0065(object):
NAMESPACE = NS_BS
diff --git a/src/plugins/plugin_xep_0077.py b/src/plugins/plugin_xep_0077.py
index 91d8361b..5bb9cd68 100755
--- a/src/plugins/plugin_xep_0077.py
+++ b/src/plugins/plugin_xep_0077.py
@@ -38,7 +38,7 @@ PLUGIN_INFO = {
"description": _("""Implementation of in-band registration""")
}
-class XEP_0077():
+class XEP_0077(object):
def __init__(self, host):
info(_("Plugin XEP_0077 initialization"))
diff --git a/src/plugins/plugin_xep_0095.py b/src/plugins/plugin_xep_0095.py
index ffda3cbf..fba453f6 100644
--- a/src/plugins/plugin_xep_0095.py
+++ b/src/plugins/plugin_xep_0095.py
@@ -52,7 +52,7 @@ PLUGIN_INFO = {
"description": _("""Implementation of Stream Initiation""")
}
-class XEP_0095():
+class XEP_0095(object):
def __init__(self, host):
info(_("Plugin XEP_0095 initialization"))
diff --git a/src/plugins/plugin_xep_0096.py b/src/plugins/plugin_xep_0096.py
index ccb6747a..624300bc 100755
--- a/src/plugins/plugin_xep_0096.py
+++ b/src/plugins/plugin_xep_0096.py
@@ -45,7 +45,7 @@ PLUGIN_INFO = {
"description": _("""Implementation of SI File Transfer""")
}
-class XEP_0096():
+class XEP_0096(object):
def __init__(self, host):
info(_("Plugin XEP_0096 initialization"))
diff --git a/src/plugins/plugin_xep_0100.py b/src/plugins/plugin_xep_0100.py
index 711c2892..6c62760a 100755
--- a/src/plugins/plugin_xep_0100.py
+++ b/src/plugins/plugin_xep_0100.py
@@ -34,7 +34,7 @@ PLUGIN_INFO = {
"description": _("""Implementation of Gateways protocol""")
}
-class XEP_0100():
+class XEP_0100(object):
def __init__(self, host):
info(_("Gateways plugin initialization"))
diff --git a/src/plugins/plugin_xep_0115.py b/src/plugins/plugin_xep_0115.py
index 64ef3e7d..841154dd 100755
--- a/src/plugins/plugin_xep_0115.py
+++ b/src/plugins/plugin_xep_0115.py
@@ -73,7 +73,7 @@ class ByteIdentity(object):
return "%s/%s/%s/%s" % (self.category, self.idType, self.lang, self.name)
-class XEP_0115():
+class XEP_0115(object):
cap_hash = None #capabilities hash is class variable as it is common to all profiles
#TODO: this code is really dirty, need to clean it and try to move it to Wokkel
diff --git a/src/plugins/plugin_xep_0163.py b/src/plugins/plugin_xep_0163.py
index e5b65a6b..8eb0dedb 100755
--- a/src/plugins/plugin_xep_0163.py
+++ b/src/plugins/plugin_xep_0163.py
@@ -42,7 +42,7 @@ PLUGIN_INFO = {
"description": _("""Implementation of Personal Eventing Protocol""")
}
-class XEP_0163():
+class XEP_0163(object):
def __init__(self, host):
info(_("PEP plugin initialization"))
diff --git a/src/plugins/plugin_xep_0249.py b/src/plugins/plugin_xep_0249.py
index 8da7268e..83ea4c7f 100755
--- a/src/plugins/plugin_xep_0249.py
+++ b/src/plugins/plugin_xep_0249.py
@@ -49,7 +49,7 @@ PLUGIN_INFO = {
"description": _("""Implementation of Direct MUC Invitations""")
}
-class XEP_0249():
+class XEP_0249(object):
def __init__(self, host):
info(_("Plugin XEP_0249 initialization"))
diff --git a/src/plugins/plugin_xep_0277.py b/src/plugins/plugin_xep_0277.py
index 36017664..69c2c24f 100755
--- a/src/plugins/plugin_xep_0277.py
+++ b/src/plugins/plugin_xep_0277.py
@@ -53,7 +53,7 @@ PLUGIN_INFO = {
class NodeAccessChangeException(Exception):
pass
-class XEP_0277():
+class XEP_0277(object):
def __init__(self, host):
info(_("Microblogging plugin initialization"))
diff --git a/src/tools/games.py b/src/tools/games.py
index 0c2bb853..7602820b 100644
--- a/src/tools/games.py
+++ b/src/tools/games.py
@@ -27,7 +27,7 @@ from logging import debug, info, error
suits_order = ['pique', 'coeur', 'trefle', 'carreau', 'atout'] #I have switched the usual order 'trefle' and 'carreau' because card are more easy to see if suit colour change (black, red, black, red)
values_order = map(str,range(1,11))+["valet","cavalier","dame","roi"]
-class TarotCard():
+class TarotCard(object):
"""This class is used to represent a car logically"""
#TODO: move this in a library in tools, and share this with frontends (e.g. card_game in wix use the same class)
diff --git a/src/tools/misc.py b/src/tools/misc.py
index 389e05a1..3cd5ab7f 100644
--- a/src/tools/misc.py
+++ b/src/tools/misc.py
@@ -31,7 +31,7 @@ class SkipOtherTriggers(Exception):
followind triggers list """
pass
-class TriggerManager:
+class TriggerManager(object):
"""This class manage triggers: code which interact to change de behaviour of SàT"""
def __init__(self):
diff --git a/src/tools/xml_tools.py b/src/tools/xml_tools.py
index 7047f133..8d58f140 100644
--- a/src/tools/xml_tools.py
+++ b/src/tools/xml_tools.py
@@ -107,7 +107,7 @@ def paramsXml2xmlUI(xml):
-class XMLUI:
+class XMLUI(object):
"""This class is used to create a user interface (form/window/parameters/etc) using SàT XML"""
def __init__(self, panel_type, layout="vertical", title=None):