Do not pass arguments to object.__init__ in IrcDriver.__init__

This commit is contained in:
James Vega 2009-01-13 18:59:27 +00:00
parent c23c84a725
commit 5fabe8f747

View File

@ -1,6 +1,6 @@
### ###
# Copyright (c) 2002-2004, Jeremiah Fincher # Copyright (c) 2002-2004, Jeremiah Fincher
# Copyright (c) 2008, James Vega # Copyright (c) 2008-2009, James Vega
# All rights reserved. # All rights reserved.
# #
# Redistribution and use in source and binary forms, with or without # Redistribution and use in source and binary forms, with or without
@ -49,7 +49,7 @@ class IrcDriver(object):
"""Base class for drivers.""" """Base class for drivers."""
def __init__(self, *args, **kwargs): def __init__(self, *args, **kwargs):
add(self.name(), self) add(self.name(), self)
super(IrcDriver, self).__init__(*args, **kwargs) super(IrcDriver, self).__init__()
def run(self): def run(self):
raise NotImplementedError raise NotImplementedError