mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-12-23 11:12:47 +01:00
Satisfied PyChecker
This commit is contained in:
parent
e3309c31cf
commit
3cd72723e4
@ -32,11 +32,8 @@
|
||||
from fix import *
|
||||
|
||||
import os
|
||||
import re
|
||||
import sys
|
||||
import imp
|
||||
import time
|
||||
import pprint
|
||||
|
||||
import conf
|
||||
import debug
|
||||
@ -45,7 +42,6 @@ import ircdb
|
||||
import ircmsgs
|
||||
import drivers
|
||||
import ircutils
|
||||
import schedule
|
||||
import callbacks
|
||||
|
||||
def getChannel(msg, args):
|
||||
@ -106,7 +102,7 @@ def getKeywordArgs(irc, msg, d=None):
|
||||
|
||||
|
||||
class CapabilityCheckingPrivmsg(callbacks.Privmsg):
|
||||
self.capability = '' # To satisfy PyChecker
|
||||
capability = '' # To satisfy PyChecker
|
||||
def callCommand(self, f, irc, msg, args):
|
||||
if ircdb.checkCapability(msg.prefix, self.capability):
|
||||
callbacks.Privmsg.callCommand(self, f, irc, msg, args)
|
||||
|
Loading…
Reference in New Issue
Block a user