mirror of
https://github.com/Mikaela/Limnoria.git
synced 2025-01-30 22:24:20 +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:
|
try:
|
||||||
irc.reply(self._getResponse(url), prefixName=False)
|
irc.reply(self._getResponse(url), prefixName=False)
|
||||||
except EbayError, e:
|
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)
|
ebaySnarfer = privmsgs.urlSnarfer(ebaySnarfer)
|
||||||
|
|
||||||
def _getResponse(self, url):
|
def _getResponse(self, url):
|
||||||
|
@ -177,13 +177,13 @@ class Gameknot(callbacks.PrivmsgCommandAndRegexp):
|
|||||||
return
|
return
|
||||||
m = self._gkGameTitle.search(s)
|
m = self._gkGameTitle.search(s)
|
||||||
if m is None:
|
if m is None:
|
||||||
self.log.warning('_gkGameTitle didn\'t match (%s).', url)
|
self.log.info('_gkGameTitle didn\'t match (%s).', url)
|
||||||
return
|
return
|
||||||
gameTitle = m.groups()
|
gameTitle = m.groups()
|
||||||
gameTitle = ircutils.bold(gameTitle)
|
gameTitle = ircutils.bold(gameTitle)
|
||||||
L = self._gkPlayer.findall(s)
|
L = self._gkPlayer.findall(s)
|
||||||
if not L:
|
if not L:
|
||||||
self.log.warning('_gkPlayer didn\'t match (%s).', url)
|
self.log.info('_gkPlayer didn\'t match (%s).', url)
|
||||||
return
|
return
|
||||||
((wRating, wName), (bRating, bName)) = L
|
((wRating, wName), (bRating, bName)) = L
|
||||||
wName = ircutils.bold(wName)
|
wName = ircutils.bold(wName)
|
||||||
|
@ -108,7 +108,7 @@ def search(log, queries, **kwargs):
|
|||||||
else:
|
else:
|
||||||
raise callbacks.Error, 'Error connecting to Google.com.'
|
raise callbacks.Error, 'Error connecting to Google.com.'
|
||||||
except SOAP.HTTPError, e:
|
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.'
|
raise callbacks.Error, 'Error connecting to Google.com.'
|
||||||
except SOAP.faultType, e:
|
except SOAP.faultType, e:
|
||||||
log.exception('Uncaught SOAP error:')
|
log.exception('Uncaught SOAP error:')
|
||||||
|
@ -203,7 +203,7 @@ class URL(callbacks.PrivmsgCommandAndRegexp):
|
|||||||
if len(url) >= minlen:
|
if len(url) >= minlen:
|
||||||
tinyurl = self._getTinyUrl(url, channel)
|
tinyurl = self._getTinyUrl(url, channel)
|
||||||
if tinyurl is None:
|
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
|
return
|
||||||
domain = webutils.getDomain(url)
|
domain = webutils.getDomain(url)
|
||||||
s = '%s (at %s)' % (ircutils.bold(tinyurl), domain)
|
s = '%s (at %s)' % (ircutils.bold(tinyurl), domain)
|
||||||
@ -251,7 +251,7 @@ class URL(callbacks.PrivmsgCommandAndRegexp):
|
|||||||
if cmd:
|
if cmd:
|
||||||
raise callbacks.Error, e
|
raise callbacks.Error, e
|
||||||
else:
|
else:
|
||||||
self.log.warning(str(e))
|
self.log.info(str(e))
|
||||||
|
|
||||||
def tiny(self, irc, msg, args):
|
def tiny(self, irc, msg, args):
|
||||||
"""<url>
|
"""<url>
|
||||||
|
Loading…
Reference in New Issue
Block a user