mirror of
https://github.com/Mikaela/Limnoria.git
synced 2025-02-02 15:44:06 +01:00
cleaned up a couple of pylint warnings
This commit is contained in:
parent
3adad29021
commit
76c4dfc762
@ -270,7 +270,7 @@ class Channel(callbacks.Privmsg):
|
|||||||
irc.reply(msg, 'I\'m not currently ignoring any hostmasks '
|
irc.reply(msg, 'I\'m not currently ignoring any hostmasks '
|
||||||
'in %r' % channel)
|
'in %r' % channel)
|
||||||
return
|
return
|
||||||
irc.reply(msg, utils.commaAndify(imap(repr,c.ignores)))
|
irc.reply(msg, utils.commaAndify(imap(repr, c.ignores)))
|
||||||
ignores = privmsgs.checkChannelCapability(ignores, 'op')
|
ignores = privmsgs.checkChannelCapability(ignores, 'op')
|
||||||
|
|
||||||
|
|
||||||
|
@ -331,7 +331,7 @@ class Configurable(object):
|
|||||||
"""
|
"""
|
||||||
def __init__(self):
|
def __init__(self):
|
||||||
className = self.__class__.__name__
|
className = self.__class__.__name__
|
||||||
self.filename = os.path.join(conf.confDir,'%s-configurable'%className)
|
self.filename = os.path.join(conf.confDir, '%s-configurable'%className)
|
||||||
if os.path.exists(self.filename):
|
if os.path.exists(self.filename):
|
||||||
fd = file(self.filename)
|
fd = file(self.filename)
|
||||||
for line in fd:
|
for line in fd:
|
||||||
|
Loading…
Reference in New Issue
Block a user