mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-27 21:29:24 +01:00
pylint cleanups
This commit is contained in:
parent
3e1be1858b
commit
efb7891f46
@ -96,7 +96,7 @@ class Channel(callbacks.Privmsg):
|
||||
channel limit. <channel> is only necessary if the message isn't sent
|
||||
in the channel itself.
|
||||
"""
|
||||
limit = privmsg.getArgs(args)
|
||||
limit = privmsgs.getArgs(args)
|
||||
try:
|
||||
limit = int(limit)
|
||||
if limit < 0:
|
||||
|
@ -241,7 +241,8 @@ class Owner(privmsgs.CapabilityCheckingPrivmsg):
|
||||
self.log.error('Error loading src/ plugin %s. '
|
||||
'This is usually rather '
|
||||
'serious; these plugins are '
|
||||
'almost always be loaded.', s)
|
||||
'almost always be loaded.',
|
||||
name)
|
||||
|
||||
except Exception, e:
|
||||
log.exception('Failed to load %s:', name)
|
||||
|
@ -426,7 +426,7 @@ class RichReplyMethods(object):
|
||||
else:
|
||||
log.warning('Denying %s for some unspecified capability '
|
||||
'(or a default)', self.msg.prefix)
|
||||
v = conf.supybot.replies.genericNoCapability.get(msg.args[0])()
|
||||
v = conf.supybot.replies.genericNoCapability.get(self.msg.args[0])()
|
||||
self.error(self.__makeReply(v, s), **kwargs)
|
||||
|
||||
def errorPossibleBug(self, s='', **kwargs):
|
||||
|
Loading…
Reference in New Issue
Block a user