mirror of
https://github.com/Mikaela/Limnoria.git
synced 2025-01-11 20:52:42 +01:00
Made the warning log in Misc.version (a) info, and (b) more useful.
This commit is contained in:
parent
ff45b55428
commit
6965abc3fd
@ -233,7 +233,7 @@ class Misc(callbacks.Privmsg):
|
|||||||
newest = utils.web.getUrl('http://supybot.sf.net/version.txt')
|
newest = utils.web.getUrl('http://supybot.sf.net/version.txt')
|
||||||
newest ='The newest version available online is %s.'%newest.strip()
|
newest ='The newest version available online is %s.'%newest.strip()
|
||||||
except utils.web.Error, e:
|
except utils.web.Error, e:
|
||||||
self.log.warning('Couldn\'t get website version: %r', e)
|
self.log.info('Couldn\'t get website version: %s', e)
|
||||||
newest = 'I couldn\'t fetch the newest version ' \
|
newest = 'I couldn\'t fetch the newest version ' \
|
||||||
'from the Supybot website.'
|
'from the Supybot website.'
|
||||||
s = 'The current (running) version of this Supybot is %s. %s' % \
|
s = 'The current (running) version of this Supybot is %s. %s' % \
|
||||||
|
Loading…
Reference in New Issue
Block a user