mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-12-11 20:59:42 +01:00
Do not pass arguments to object.__init__ in IrcDriver.__init__
This commit is contained in:
parent
c23c84a725
commit
5fabe8f747
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user