summaryrefslogtreecommitdiff
path: root/interface.py
diff options
context:
space:
mode:
authorSylvain <syt@logilab.fr>2007-09-28 16:49:31 +0200
committerSylvain <syt@logilab.fr>2007-09-28 16:49:31 +0200
commitf1300b194056ad5b76eb83b135a915dcf09a37a0 (patch)
tree04280cde4a5655dfaf4474ea938dd6f0517e781b /interface.py
parentdb7bde02faf4be871a20e04cd78478304856d87e (diff)
downloadlogilab-common-f1300b194056ad5b76eb83b135a915dcf09a37a0.tar.gz
test and fix
Diffstat (limited to 'interface.py')
-rw-r--r--interface.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/interface.py b/interface.py
index 78f0afa..325e470 100644
--- a/interface.py
+++ b/interface.py
@@ -59,6 +59,7 @@ def extend(klass, interface, _recurs=False):
kimplementsklass = type(kimplements)
kimplements = list(kimplements)
except AttributeError:
+ kimplementsklass = tuple
kimplements = []
kimplements.append(interface)
klass.__implements__ = kimplementsklass(kimplements)