commit:     29500cb89afb2bb7b4b365c683c7d09fe05fc4dd
Author:     Brian Dolbec <dolsen <AT> gentoo <DOT> org>
AuthorDate: Sat Jan  3 18:07:25 2015 +0000
Commit:     Brian Dolbec <dolsen <AT> gentoo <DOT> org>
CommitDate: Sat Jan  3 18:21:23 2015 +0000
URL:        
http://sources.gentoo.org/gitweb/?p=proj/gentoo-keys.git;a=commit;h=29500cb8

gkeys/actions.py: Move list-cats to General_Actions

---
 gkeys/gkeys/actions.py | 20 ++++++++++----------
 1 file changed, 10 insertions(+), 10 deletions(-)

diff --git a/gkeys/gkeys/actions.py b/gkeys/gkeys/actions.py
index 4a1c831..c212609 100644
--- a/gkeys/gkeys/actions.py
+++ b/gkeys/gkeys/actions.py
@@ -31,14 +31,14 @@ from gkeys.gkey import GKEY
 from gkeys.checks import SPECCHECK_SUMMARY, convert_pf, convert_yn
 
 
-Seed_Actions = ['----seeds----', 'add-seed', 'fetch-seed', 'list-cats',
+Seed_Actions = ['----seeds----', 'add-seed', 'fetch-seed',
     'list-seed', 'list-seedfiles', 'move-seed', 'remove-seed']
 
 Key_Actions = ['----keys-----', 'check-key', 'import-key', 'installed',
     'install-key', 'search-key', 'list-key', 'move-key', 'refresh-key', 
'remove-key',
     'spec-check']
 
-General_Actions = ['---general---', 'sign','verify']
+General_Actions = ['---general---', 'list-cats', 'sign','verify']
 
 Available_Actions = General_Actions + Key_Actions + Seed_Actions
 
@@ -50,6 +50,14 @@ Action_Map = OrderedDict({
         'long_desc': '''''',
         'example': '''''',
         },
+    'list-cats': {
+        'func': 'listcats',
+        'options': [],
+        'desc': '''List seed file definitions (category names) found in the 
config''',
+        'long_desc': '''List seed file definitions (category names) found in 
the config.
+    These category names are used throughout the seed and key action 
operations.''',
+        'example': '''''',
+        },
     'sign': {
         'func': 'sign',
         'options': ['nick', 'name', 'fingerprint', 'file', ],
@@ -69,14 +77,6 @@ Action_Map = OrderedDict({
     the verification''',
         'example': '''''',
         },
-    'list-cats': {
-        'func': 'listcats',
-        'options': [],
-        'desc': '''List seed file definitions (category names) found in the 
config''',
-        'long_desc': '''List seed file definitions (category names) found in 
the config.
-    These category names are used throughout the seed and key action 
operations.''',
-        'example': '''''',
-        },
     '----keys-----': {
         'func': 'KEY_COMMANDS',
         'options': [],

Reply via email to