From 706d8a250a5b915799daa89758ffaac98ca17786 Mon Sep 17 00:00:00 2001 From: Brian Dolbec Date: Sat, 25 Jul 2015 03:50:31 -0700 Subject: gkeysgpg: Get the initail cli operations working with stubbed out Actions --- gkeys/gkeysgpg/action.py | 52 ------------------------------------------------ 1 file changed, 52 deletions(-) delete mode 100644 gkeys/gkeysgpg/action.py (limited to 'gkeys/gkeysgpg/action.py') 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 - @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 - - -- cgit v1.2.3-65-gdbad