Sort the devs on their nick
authorBrian Dolbec <dolsen@gentoo.org>
Sat, 22 Jun 2013 17:28:30 +0000 (17:28 +0000)
committerBrian Dolbec <dolsen@gentoo.org>
Sat, 22 Jun 2013 23:00:58 +0000 (16:00 -0700)
gkeyldap/cli.py

index 9bb1addc9a9022729e6e1db0d4ad20ee3b7ebda1..15e410e1726a9d3288289f93feda39e078e68eac 100644 (file)
@@ -148,7 +148,7 @@ class Main(object):
         filename = self.config['dev-seedfile'] + '.new'
         self.seeds = Seeds(filename)
         count = 0
-        for dev in devs:
+        for dev in sorted(devs):
             if devs[dev]['gentooStatus'][0] not in ['active']:
                 continue
             #logger.debug("create_seedfile, dev = %s, %s" % (str(dev), str(devs[dev])))