diff options
author | Sylvain <syt@logilab.fr> | 2007-09-28 16:49:31 +0200 |
---|---|---|
committer | Sylvain <syt@logilab.fr> | 2007-09-28 16:49:31 +0200 |
commit | f1300b194056ad5b76eb83b135a915dcf09a37a0 (patch) | |
tree | 04280cde4a5655dfaf4474ea938dd6f0517e781b /interface.py | |
parent | db7bde02faf4be871a20e04cd78478304856d87e (diff) | |
download | logilab-common-f1300b194056ad5b76eb83b135a915dcf09a37a0.tar.gz |
test and fix
Diffstat (limited to 'interface.py')
-rw-r--r-- | interface.py | 1 |
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) |