Merge pull request #856 from nyuszika7h/plugindownloader-sort

PluginDownloader: Sort `repolist` output alphabetically
This commit is contained in:
Valentin Lorentz 2014-09-18 07:11:18 +02:00
commit 5b502a6a2b

View File

@ -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 '