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