mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-12-18 16:12:42 +01:00
Merge pull request #856 from nyuszika7h/plugindownloader-sort
PluginDownloader: Sort `repolist` output alphabetically
This commit is contained in:
commit
5b502a6a2b
@ -326,7 +326,7 @@ class PluginDownloader(callbacks.Plugin):
|
|||||||
|
|
||||||
global repositories
|
global repositories
|
||||||
if repository is None:
|
if repository is None:
|
||||||
irc.reply(_(', ').join([x for x in repositories]))
|
irc.reply(_(', ').join(sorted(x for x in repositories)))
|
||||||
elif repository not in repositories:
|
elif repository not in repositories:
|
||||||
irc.error(_(
|
irc.error(_(
|
||||||
'This repository does not exist or is not known by '
|
'This repository does not exist or is not known by '
|
||||||
|
Loading…
Reference in New Issue
Block a user