From: Zac Medico Date: Wed, 19 Jun 2013 19:21:44 +0000 (-0700) Subject: RepoConfigLoader: fix last commit X-Git-Tag: v2.2.0_alpha182~4 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=18297c51e845cfc0512cc5c3013e96a21a16479f;p=portage.git RepoConfigLoader: fix last commit --- diff --git a/pym/portage/repository/config.py b/pym/portage/repository/config.py index 7de695449..49af5e81d 100644 --- a/pym/portage/repository/config.py +++ b/pym/portage/repository/config.py @@ -619,7 +619,7 @@ class RepoConfigLoader(object): # Include repo.name in sort key, for predictable sorting # even when priorities are equal. prepos_order = sorted(prepos.items(), - key=lambda r:(r[1].priority or 0, repo.name)) + key=lambda r:(r[1].priority or 0, r[1].name)) # filter duplicates from aliases, by only including # items where repo.name == key