cleaned up a couple of pylint warnings

This commit is contained in:
James Vega 2003-11-30 19:34:14 +00:00
parent 3adad29021
commit 76c4dfc762
2 changed files with 2 additions and 2 deletions

View File

@ -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')

View File

@ -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: