PluginDownloader: Sort repolist output alphabetically

This commit is contained in:
nyuszika7h 2014-09-17 20:32:17 +02:00
parent e49b6fe8d2
commit 55cadfd411

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 '