aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian Dolbec <dolsen@gentoo.org>2015-07-25 03:50:31 -0700
committerBrian Dolbec <dolsen@gentoo.org>2015-07-25 03:50:31 -0700
commit706d8a250a5b915799daa89758ffaac98ca17786 (patch)
tree846d96dbf7b5b580123e87f093083a61a586a237 /gkeys/gkeysgpg/action.py
parentgkeysgpg: Initial commit of the gkeys-gpg command (diff)
downloadgentoo-keys-gkeys-gpg.tar.gz
gentoo-keys-gkeys-gpg.tar.bz2
gentoo-keys-gkeys-gpg.zip
gkeysgpg: Get the initail cli operations working with stubbed out Actionsgkeys-gpg
Diffstat (limited to 'gkeys/gkeysgpg/action.py')
-rw-r--r--gkeys/gkeysgpg/action.py52
1 files changed, 0 insertions, 52 deletions
diff --git a/gkeys/gkeysgpg/action.py b/gkeys/gkeysgpg/action.py
deleted file mode 100644
index 7eac144..0000000
--- a/gkeys/gkeysgpg/action.py
+++ /dev/null
@@ -1,52 +0,0 @@
-#
-#-*- coding:utf-8 -*-
-
-"""
- Gentoo-keys - gkeys-gpg/actions.py
-
- Primary api interface module
-
- @copyright: 2012 by Brian Dolbec <dol-sen@gentoo.org>
- @license: GNU GPL2, see COPYING for details.
-"""
-
-from __future__ import print_function
-
-import os
-import sys
-
-if sys.version_info[0] >= 3:
- py_input = input
- _unicode = str
-else:
- py_input = raw_input
- _unicode = unicode
-
-
-from collections import defaultdict
-
-from snakeoil.demandload import demandload
-
-from gkeys.gkey import GKEY
-from gkeys.checks import SPECCHECK_SUMMARY, convert_pf, convert_yn
-
-demandload(
- "json:load",
- "gkeys.lib:GkeysGPG",
- "gkeys.seedhandler:SeedHandler",
-)
-
-
-EXTENSIONS = ['.sig', '.asc', '.gpg','.gpgsig']
-
-
-class Actions(object):
- '''Primary API actions'''
-
- def __init__(self, config, output=None, logger=None):
- self.config = config
- self.output = output
- self.logger = logger
- self.seeds = None
-
-