commit: b5a2090363952c36b729eefa9d0f32298b491a00
Author: Pavlos Ratis <dastergon <AT> gentoo <DOT> org>
AuthorDate: Tue Dec 30 16:47:37 2014 +0000
Commit: Pavlos Ratis <dastergon <AT> gentoo <DOT> org>
CommitDate: Tue Dec 30 16:47:37 2014 +0000
URL:
http://sources.gentoo.org/gitweb/?p=proj/gentoo-keys.git;a=commit;h=b5a20903
remove unused imports
---
gkeys-gen/setup.py | 1 -
gkeys-ldap/setup.py | 1 -
gkeys/gkeys/SaneConfigParser.py | 3 ++-
gkeys/gkeys/base.py | 2 +-
gkeys/gkeys/checks.py | 3 +--
5 files changed, 4 insertions(+), 6 deletions(-)
diff --git a/gkeys-gen/setup.py b/gkeys-gen/setup.py
index e2ac6b3..4e6483e 100755
--- a/gkeys-gen/setup.py
+++ b/gkeys-gen/setup.py
@@ -1,6 +1,5 @@
#!/usr/bin/env python
-import os
import sys
from distutils.core import setup
diff --git a/gkeys-ldap/setup.py b/gkeys-ldap/setup.py
index d4f7d5c..1086cfe 100755
--- a/gkeys-ldap/setup.py
+++ b/gkeys-ldap/setup.py
@@ -1,6 +1,5 @@
#!/usr/bin/env python
-import os
import sys
from distutils.core import setup
diff --git a/gkeys/gkeys/SaneConfigParser.py b/gkeys/gkeys/SaneConfigParser.py
index 0616335..359bdd8 100644
--- a/gkeys/gkeys/SaneConfigParser.py
+++ b/gkeys/gkeys/SaneConfigParser.py
@@ -1,5 +1,6 @@
+#
+#-*- coding:utf-8 -*-
-import sys
try:
from configparser import ConfigParser
diff --git a/gkeys/gkeys/base.py b/gkeys/gkeys/base.py
index 56262df..499c291 100644
--- a/gkeys/gkeys/base.py
+++ b/gkeys/gkeys/base.py
@@ -17,7 +17,7 @@ from __future__ import print_function
import argparse
import sys
-from gkeys import config, fileops, seed, lib
+from gkeys import fileops, seed, lib
from gkeys.log import log_levels, set_logger
diff --git a/gkeys/gkeys/checks.py b/gkeys/gkeys/checks.py
index b66165b..69df9c4 100644
--- a/gkeys/gkeys/checks.py
+++ b/gkeys/gkeys/checks.py
@@ -15,8 +15,7 @@ from collections import namedtuple, OrderedDict
from gkeys.config import GKEY_CHECK
from pyGPG.mappings import (ALGORITHM_CODES, CAPABILITY_MAP,
- KEY_VERSION_FPR_LEN, VALIDITY_MAP, INVALID_LIST,
- VALID_LIST)
+ KEY_VERSION_FPR_LEN, VALIDITY_MAP, VALID_LIST)
SPEC_INDEX = {