Changed a log.info to a log.warning (more appropriate).

This commit is contained in:
Jeremy Fincher 2003-12-05 11:52:50 +00:00
parent f85a069eec
commit 40dcc0eb1c

View File

@ -528,12 +528,13 @@ class ConfigIrcProxy(object):
return None return None
def error(self, msg, s, *args): def error(self, msg, s, *args):
log.info('ConfigIrcProxy saw an error: %s' % s) log.warning('ConfigIrcProxy saw an error: %s' % s)
def getRealIrc(self): def getRealIrc(self):
irc = self.__dict__['irc'] irc = self.__dict__['irc']
while(hasattr(irc, 'getRealIrc')): if hasattr(irc, 'getRealIrc'):
irc = irc.getRealIrc() return irc.getRealIrc()
else:
return irc return irc
def __getattr__(self, attr): def __getattr__(self, attr):