From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1SbDWZ-0003LO-Bw for garchives@archives.gentoo.org; Sun, 03 Jun 2012 16:19:31 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 62E89E0574; Sun, 3 Jun 2012 16:19:19 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 33830E0574 for ; Sun, 3 Jun 2012 16:19:18 +0000 (UTC) Received: from hornbill.gentoo.org (hornbill.gentoo.org [94.100.119.163]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 326631B4015 for ; Sun, 3 Jun 2012 16:19:18 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by hornbill.gentoo.org (Postfix) with ESMTP id F0587E5430 for ; Sun, 3 Jun 2012 16:19:16 +0000 (UTC) From: "Slava Bacherikov" To: gentoo-commits@lists.gentoo.org Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Slava Bacherikov" Message-ID: <1338740092.0589e7d67f07e81f1971e972b046cf8e14d37adf.bacher09@gentoo> Subject: [gentoo-commits] proj/gentoo-packages:master commit in: gpackages/libs/ X-VCS-Repository: proj/gentoo-packages X-VCS-Files: gpackages/libs/porttree.py X-VCS-Directories: gpackages/libs/ X-VCS-Committer: bacher09 X-VCS-Committer-Name: Slava Bacherikov X-VCS-Revision: 0589e7d67f07e81f1971e972b046cf8e14d37adf X-VCS-Branch: master Date: Sun, 3 Jun 2012 16:19:16 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: quoted-printable X-Archives-Salt: bff35683-a4d4-4bf1-a676-88dd9c489e18 X-Archives-Hash: 18e6a1ca939689b1b8201cad4d46b8f0 commit: 0589e7d67f07e81f1971e972b046cf8e14d37adf Author: Slava Bacherikov bacher09 org> AuthorDate: Sun Jun 3 16:14:52 2012 +0000 Commit: Slava Bacherikov bacherikov org ua> CommitDate: Sun Jun 3 16:14:52 2012 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=3Dproj/gentoo-packag= es.git;a=3Dcommit;h=3D0589e7d6 Iter categories in alphabetic order. --- gpackages/libs/porttree.py | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/gpackages/libs/porttree.py b/gpackages/libs/porttree.py index 3f1f1f6..8bee3dd 100644 --- a/gpackages/libs/porttree.py +++ b/gpackages/libs/porttree.py @@ -110,7 +110,7 @@ class PortTree(ToStrMixin): self.porttree =3D porttree # TODO: it should be read-only =20 def iter_categories(self): - for category in PORTDB.settings.categories: + for category in sorted(PORTDB.settings.categories): yield Category(self, category) =20 def iter_packages(self):