mirror of
https://github.com/Mikaela/Limnoria.git
synced 2025-01-29 21:54:22 +01:00
Changed a warning to an info.
This commit is contained in:
parent
962843f658
commit
bad2bb12f2
@ -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):
|
||||
|
@ -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)
|
||||
|
@ -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:')
|
||||
|
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user