diff src/bridge/bridge_constructor/bridge_contructor.py @ 588:beaf6bec2fcd

Remove every old-style class.
author Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
date Fri, 18 Jan 2013 17:55:35 +0100
parents 952322b1d490
children 1f160467f5de
line wrap: on
line diff
--- a/src/bridge/bridge_constructor/bridge_contructor.py	Fri Jan 18 17:55:34 2013 +0100
+++ b/src/bridge/bridge_constructor/bridge_contructor.py	Fri Jan 18 17:55:35 2013 +0100
@@ -56,7 +56,7 @@
     #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 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 @@
 
        raise ConstructorError('Unknown constructor type')
 
-class BridgeConstructor:
+class BridgeConstructor(object):
     def __init__(self):
         self.options = None