diff options
author | 2015-07-28 23:57:56 -0700 | |
---|---|---|
committer | 2015-08-02 21:00:55 -0700 | |
commit | c8aaf3c1f7137f10bba74308d4067b3584a59985 (patch) | |
tree | 2afff1d015bf6c0f000fb7ef40329a6463d5bab0 /gkeys/gkeys/lib.py | |
parent | gkeys/lib.py: Split out _log_result() (diff) | |
download | gentoo-keys-c8aaf3c1f7137f10bba74308d4067b3584a59985.tar.gz gentoo-keys-c8aaf3c1f7137f10bba74308d4067b3584a59985.tar.bz2 gentoo-keys-c8aaf3c1f7137f10bba74308d4067b3584a59985.zip |
gkeys/lib.py: Whitespace cleanup, remove an unused variable assignment
Diffstat (limited to 'gkeys/gkeys/lib.py')
-rw-r--r-- | gkeys/gkeys/lib.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gkeys/gkeys/lib.py b/gkeys/gkeys/lib.py index 838ebf0..96a57f2 100644 --- a/gkeys/gkeys/lib.py +++ b/gkeys/gkeys/lib.py @@ -20,6 +20,7 @@ with gentoo-keys specific convienience functions. from __future__ import print_function import os + from os.path import abspath, pardir from os.path import join as pjoin from shutil import rmtree @@ -29,6 +30,7 @@ from gkeys.checks import KeyChecks from gkeys.fileops import ensure_dirs from gkeys.seed import Seeds + class GkeysGPG(GPG): '''Gentoo-keys primary gpg class''' @@ -357,7 +359,6 @@ class GkeysGPG(GPG): @param fingerprint: string of the fingerprint to sign with @param filepath: string with the path of the file to sign ''' - keyid = gkey.keyid[0] self.set_keydir(gkey.keydir, mode, reset=True) self.logger.debug("** Calling runGPG with Running 'gpg %s --%s %s %s'" % (' '.join(self.config['tasks'][mode]), mode, fingerprint, filepath)) |