mirror of
https://github.com/Mikaela/Limnoria.git
synced 2025-01-23 18:44:04 +01:00
Owner: update error messages
s/This plugin is incompatible/This plugin may be incompatible/
This commit is contained in:
parent
76a5616bbe
commit
99db7afbea
@ -199,7 +199,7 @@ class Owner(callbacks.Plugin):
|
|||||||
s = 'Failed to load {0}: No plugin named {0} exists.'.format(
|
s = 'Failed to load {0}: No plugin named {0} exists.'.format(
|
||||||
utils.str.dqrepr(name))
|
utils.str.dqrepr(name))
|
||||||
elif "No module named 'config'" in e:
|
elif "No module named 'config'" in e:
|
||||||
s = ("Failed to load %s: This plugin is incompatible "
|
s = ("Failed to load %s: This plugin may be incompatible "
|
||||||
"with your current Python version. If this error is appearing "
|
"with your current Python version. If this error is appearing "
|
||||||
"with stock Supybot plugins, remove the stock plugins directory "
|
"with stock Supybot plugins, remove the stock plugins directory "
|
||||||
"(usually ~/Limnoria/plugins) from 'config directories.plugins'." % name)
|
"(usually ~/Limnoria/plugins) from 'config directories.plugins'." % name)
|
||||||
@ -429,7 +429,7 @@ class Owner(callbacks.Plugin):
|
|||||||
if str(e).endswith(name):
|
if str(e).endswith(name):
|
||||||
irc.error('No plugin named %s exists.' % utils.str.dqrepr(name))
|
irc.error('No plugin named %s exists.' % utils.str.dqrepr(name))
|
||||||
elif "No module named 'config'" in str(e):
|
elif "No module named 'config'" in str(e):
|
||||||
irc.error('This plugin is incompatible with your current Python '
|
irc.error('This plugin may be incompatible with your current Python '
|
||||||
'version. Try running 2to3 on it.')
|
'version. Try running 2to3 on it.')
|
||||||
else:
|
else:
|
||||||
irc.error(str(e))
|
irc.error(str(e))
|
||||||
|
Loading…
Reference in New Issue
Block a user