1 |
commit: b5a2090363952c36b729eefa9d0f32298b491a00 |
2 |
Author: Pavlos Ratis <dastergon <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Dec 30 16:47:37 2014 +0000 |
4 |
Commit: Pavlos Ratis <dastergon <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Dec 30 16:47:37 2014 +0000 |
6 |
URL: http://sources.gentoo.org/gitweb/?p=proj/gentoo-keys.git;a=commit;h=b5a20903 |
7 |
|
8 |
remove unused imports |
9 |
|
10 |
--- |
11 |
gkeys-gen/setup.py | 1 - |
12 |
gkeys-ldap/setup.py | 1 - |
13 |
gkeys/gkeys/SaneConfigParser.py | 3 ++- |
14 |
gkeys/gkeys/base.py | 2 +- |
15 |
gkeys/gkeys/checks.py | 3 +-- |
16 |
5 files changed, 4 insertions(+), 6 deletions(-) |
17 |
|
18 |
diff --git a/gkeys-gen/setup.py b/gkeys-gen/setup.py |
19 |
index e2ac6b3..4e6483e 100755 |
20 |
--- a/gkeys-gen/setup.py |
21 |
+++ b/gkeys-gen/setup.py |
22 |
@@ -1,6 +1,5 @@ |
23 |
#!/usr/bin/env python |
24 |
|
25 |
-import os |
26 |
import sys |
27 |
|
28 |
from distutils.core import setup |
29 |
|
30 |
diff --git a/gkeys-ldap/setup.py b/gkeys-ldap/setup.py |
31 |
index d4f7d5c..1086cfe 100755 |
32 |
--- a/gkeys-ldap/setup.py |
33 |
+++ b/gkeys-ldap/setup.py |
34 |
@@ -1,6 +1,5 @@ |
35 |
#!/usr/bin/env python |
36 |
|
37 |
-import os |
38 |
import sys |
39 |
|
40 |
from distutils.core import setup |
41 |
|
42 |
diff --git a/gkeys/gkeys/SaneConfigParser.py b/gkeys/gkeys/SaneConfigParser.py |
43 |
index 0616335..359bdd8 100644 |
44 |
--- a/gkeys/gkeys/SaneConfigParser.py |
45 |
+++ b/gkeys/gkeys/SaneConfigParser.py |
46 |
@@ -1,5 +1,6 @@ |
47 |
+# |
48 |
+#-*- coding:utf-8 -*- |
49 |
|
50 |
-import sys |
51 |
|
52 |
try: |
53 |
from configparser import ConfigParser |
54 |
|
55 |
diff --git a/gkeys/gkeys/base.py b/gkeys/gkeys/base.py |
56 |
index 56262df..499c291 100644 |
57 |
--- a/gkeys/gkeys/base.py |
58 |
+++ b/gkeys/gkeys/base.py |
59 |
@@ -17,7 +17,7 @@ from __future__ import print_function |
60 |
import argparse |
61 |
import sys |
62 |
|
63 |
-from gkeys import config, fileops, seed, lib |
64 |
+from gkeys import fileops, seed, lib |
65 |
from gkeys.log import log_levels, set_logger |
66 |
|
67 |
|
68 |
|
69 |
diff --git a/gkeys/gkeys/checks.py b/gkeys/gkeys/checks.py |
70 |
index b66165b..69df9c4 100644 |
71 |
--- a/gkeys/gkeys/checks.py |
72 |
+++ b/gkeys/gkeys/checks.py |
73 |
@@ -15,8 +15,7 @@ from collections import namedtuple, OrderedDict |
74 |
from gkeys.config import GKEY_CHECK |
75 |
|
76 |
from pyGPG.mappings import (ALGORITHM_CODES, CAPABILITY_MAP, |
77 |
- KEY_VERSION_FPR_LEN, VALIDITY_MAP, INVALID_LIST, |
78 |
- VALID_LIST) |
79 |
+ KEY_VERSION_FPR_LEN, VALIDITY_MAP, VALID_LIST) |
80 |
|
81 |
|
82 |
SPEC_INDEX = { |