Added the Toggleable.__init__'s and therefore the help commands

This commit is contained in:
James Vega 2003-10-29 07:23:20 +00:00
parent 6d36432508
commit 0400f02f13
5 changed files with 5 additions and 5 deletions

View File

@ -101,7 +101,7 @@ class Bugzilla(callbacks.PrivmsgCommandAndRegexp, plugins.Toggleable):
def __init__(self):
callbacks.PrivmsgCommandAndRegexp.__init__(self)
#plugins.Toggleabel.__init__(self)
plugins.Toggleable.__init__(self)
self.entre = re.compile('&(\S*?);')
self.db = makeDb(dbfilename)

View File

@ -79,7 +79,7 @@ class Ebay(callbacks.PrivmsgCommandAndRegexp, plugins.Toggleable):
def __init__(self):
callbacks.PrivmsgCommandAndRegexp.__init__(self)
#plugins.Toggleable.__init__(self)
plugins.Toggleable.__init__(self)
_reopts = re.I | re.S
_info = re.compile(r'<title>eBay item (\d+) \([^)]+\) - ([^<]+)</title>',

View File

@ -86,7 +86,7 @@ class Gameknot(callbacks.PrivmsgCommandAndRegexp, plugins.Toggleable):
'stat' : True})
def __init__(self):
callbacks.PrivmsgCommandAndRegexp.__init__(self)
#plugins.Toggleable.__init__(self)
plugins.Toggleable.__init__(self)
_gkrating = re.compile(r'<font color="#FFFF33">(\d+)</font>')
_gkgames = re.compile(r's:&nbsp;&nbsp;</td><td class=sml>(\d+)</td></tr>')

View File

@ -143,7 +143,7 @@ class Google(callbacks.PrivmsgCommandAndRegexp, plugins.Toggleable):
'search' : False})
def __init__(self):
super(self.__class__, self).__init__()
#plugins.Toggleable.__init__(self)
plugins.Toggleable.__init__(self)
self.total = 0
self.totalTime = 0
self.last24hours = structures.queue()

View File

@ -115,7 +115,7 @@ class Sourceforge(callbacks.PrivmsgCommandAndRegexp, plugins.Toggleable):
def __init__(self):
callbacks.PrivmsgCommandAndRegexp.__init__(self)
#plugins.Toggleable.__init__(self)
plugins.Toggleable.__init__(self)
def _formatResp(self, num, text):
"""