Isn't this super?

This commit is contained in:
Jeremy Fincher 2004-09-08 22:48:10 +00:00
parent 87f42e0bee
commit 2c9034171b

View File

@ -52,8 +52,9 @@ _newDrivers = []
class IrcDriver(object): class IrcDriver(object):
"""Base class for drivers.""" """Base class for drivers."""
def __init__(self): def __init__(self, *args, **kwargs):
add(self.name(), self) add(self.name(), self)
super(IrcDriver, self).__init__(*args, **kwargs)
def run(self): def run(self):
raise NotImplementedError raise NotImplementedError