mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-12-27 21:22:39 +01:00
Use of (preferred?) format string notation.
This commit is contained in:
parent
b77d6d0afc
commit
181f9899b4
@ -272,8 +272,8 @@ class Misc(callbacks.Privmsg):
|
||||
try:
|
||||
return s.split(None, 3)[2]
|
||||
except:
|
||||
self.log.exception('Couldn\'t get id string from module '
|
||||
'%s: %r', n, s)
|
||||
self.log.exception('Getting %s module\'s revision number '
|
||||
'from __revision__ string: %s'%(n, s))
|
||||
if hasattr(module, '__revision__'):
|
||||
if 'supybot' in module.__file__:
|
||||
return getVersion(module.__revision__, name)
|
||||
|
Loading…
Reference in New Issue
Block a user