From: Brian Dolbec Date: Sat, 22 Jun 2013 16:07:16 +0000 (-0700) Subject: filter results for 'active' devs only X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=fe6a6ccb65b0ef8b1df87d651357f478c99bf78c;p=gentoo-keys.git filter results for 'active' devs only --- diff --git a/gkeyldap/cli.py b/gkeyldap/cli.py index f3c2ced..c702bd2 100644 --- a/gkeyldap/cli.py +++ b/gkeyldap/cli.py @@ -148,6 +148,8 @@ class Main(object): filename = self.config['dev-seedfile'] + '.new' self.seeds = Seeds(filename) for dev in devs: + if devs[dev]['gentooStatus'][0] not in ['active']: + continue logger.debug("create_seedfile, dev = %s, %s" % (str(dev), str(devs[dev]))) new_gkey = GKEY._make(self.build_gkeylist(devs[dev])) self.seeds.add(new_gkey)