Changed a warning to an info.

This commit is contained in:
Jeremy Fincher 2004-08-31 19:16:20 +00:00
parent 962843f658
commit bad2bb12f2
4 changed files with 6 additions and 6 deletions

View File

@ -123,7 +123,7 @@ class Ebay(callbacks.PrivmsgCommandAndRegexp):
try:
irc.reply(self._getResponse(url), prefixName=False)
except EbayError, e:
self.log.warning('ebaySnarfer exception at %s: %s', url, str(e))
self.log.info('ebaySnarfer exception at %s: %s', url, str(e))
ebaySnarfer = privmsgs.urlSnarfer(ebaySnarfer)
def _getResponse(self, url):

View File

@ -177,13 +177,13 @@ class Gameknot(callbacks.PrivmsgCommandAndRegexp):
return
m = self._gkGameTitle.search(s)
if m is None:
self.log.warning('_gkGameTitle didn\'t match (%s).', url)
self.log.info('_gkGameTitle didn\'t match (%s).', url)
return
gameTitle = m.groups()
gameTitle = ircutils.bold(gameTitle)
L = self._gkPlayer.findall(s)
if not L:
self.log.warning('_gkPlayer didn\'t match (%s).', url)
self.log.info('_gkPlayer didn\'t match (%s).', url)
return
((wRating, wName), (bRating, bName)) = L
wName = ircutils.bold(wName)

View File

@ -108,7 +108,7 @@ def search(log, queries, **kwargs):
else:
raise callbacks.Error, 'Error connecting to Google.com.'
except SOAP.HTTPError, e:
log.warning('HTTP Error accessing Google: %s', e)
log.info('HTTP Error accessing Google: %s', e)
raise callbacks.Error, 'Error connecting to Google.com.'
except SOAP.faultType, e:
log.exception('Uncaught SOAP error:')

View File

@ -203,7 +203,7 @@ class URL(callbacks.PrivmsgCommandAndRegexp):
if len(url) >= minlen:
tinyurl = self._getTinyUrl(url, channel)
if tinyurl is None:
self.log.warning('Couldn\'t get tinyurl for %r', url)
self.log.info('Couldn\'t get tinyurl for %r', url)
return
domain = webutils.getDomain(url)
s = '%s (at %s)' % (ircutils.bold(tinyurl), domain)
@ -251,7 +251,7 @@ class URL(callbacks.PrivmsgCommandAndRegexp):
if cmd:
raise callbacks.Error, e
else:
self.log.warning(str(e))
self.log.info(str(e))
def tiny(self, irc, msg, args):
"""<url>