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
1 changed files with 5 additions and 4 deletions

View File

@ -528,13 +528,14 @@ class ConfigIrcProxy(object):
return None
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):
irc = self.__dict__['irc']
while(hasattr(irc, 'getRealIrc')):
irc = irc.getRealIrc()
return irc
if hasattr(irc, 'getRealIrc'):
return irc.getRealIrc()
else:
return irc
def __getattr__(self, attr):
return getattr(self.getRealIrc(), attr)