Commit 879cd1dc authored by Michel Pelletier's avatar Michel Pelletier

changed exceptions

parent 63cb87bc
......@@ -27,14 +27,13 @@ class BrokenMethodImplementation(Exception):
"""An method is not completely implemented.
"""
def __init__(self, method, name):
def __init__(self, method):
self.method=method
self.name=name
def __str__(self):
return """An object has failed to implement the method %(method)s
The %(name)s signature attribute is incorrect.
The signature is incorrect.
""" % self.__dict__
class InvalidInterface(Exception): pass
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment