Isn't this super?

This commit is contained in:
Jeremy Fincher 2004-09-08 22:48:10 +00:00
parent 87f42e0bee
commit 2c9034171b
1 changed files with 2 additions and 1 deletions

View File

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