diff options
author | 2016-12-23 16:35:11 -0800 | |
---|---|---|
committer | 2016-12-23 16:35:11 -0800 | |
commit | db9c5818bdf1623bdb96a2656e9f2d7d3985eed3 (patch) | |
tree | 1c69ed784819744ab402f6c5da70733000d8c350 | |
parent | gkeys-ldap: Add missed CliBase.__init__() call (diff) | |
download | gentoo-keys-db9c5818bdf1623bdb96a2656e9f2d7d3985eed3.tar.gz gentoo-keys-db9c5818bdf1623bdb96a2656e9f2d7d3985eed3.tar.bz2 gentoo-keys-db9c5818bdf1623bdb96a2656e9f2d7d3985eed3.zip |
gkeys actions: Fix missing category errors for sign action
-rw-r--r-- | gkeys/gkeys/actions.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gkeys/gkeys/actions.py b/gkeys/gkeys/actions.py index b38db19..07dba7a 100644 --- a/gkeys/gkeys/actions.py +++ b/gkeys/gkeys/actions.py @@ -830,8 +830,10 @@ class Actions(ActionBase): nicks = [args.nick] else: nicks = args.nick + args.category = 'sign' # load our installed signing keys db self.seeds = self.seedhandler.load_category('sign', nicks) + self.category = args.category if not self.seeds.seeds: return (False, ['No installed keys, try installkey action.', '']) keydir = self.config.get_key("sign", "keydir") |