summaryrefslogtreecommitdiffstats
path: root/ipaserver/install/certs.py
diff options
context:
space:
mode:
authorPetr Viktorin <pviktori@redhat.com>2013-01-21 06:05:07 -0500
committerMartin Kosek <mkosek@redhat.com>2013-03-01 16:59:44 +0100
commit334ba2e79f64786fd3918a32bcbe68e4bf1182b0 (patch)
tree3518e146e89bbee73814c6b43a683ddce0b0d715 /ipaserver/install/certs.py
parentabb22806a77eac671a50c37af39be35ca42d3af5 (diff)
downloadfreeipa-334ba2e79f64786fd3918a32bcbe68e4bf1182b0.tar.gz
freeipa-334ba2e79f64786fd3918a32bcbe68e4bf1182b0.tar.xz
freeipa-334ba2e79f64786fd3918a32bcbe68e4bf1182b0.zip
Remove unused imports from ipaserver/install
Part of the work for: https://fedorahosted.org/freeipa/ticket/2660
Diffstat (limited to 'ipaserver/install/certs.py')
-rw-r--r--ipaserver/install/certs.py13
1 files changed, 2 insertions, 11 deletions
diff --git a/ipaserver/install/certs.py b/ipaserver/install/certs.py
index 360639dd..2e78e03e 100644
--- a/ipaserver/install/certs.py
+++ b/ipaserver/install/certs.py
@@ -19,36 +19,27 @@
import os, stat, subprocess, re
import sys
-import errno
import tempfile
import shutil
from ipapython.ipa_log_manager import *
-import urllib
import xml.dom.minidom
import pwd
import fcntl
import base64
from hashlib import sha1
+from ConfigParser import RawConfigParser, MissingSectionHeaderError
-from ipapython import nsslib
from ipapython import dogtag
from ipapython import sysrestore
from ipapython import ipautil
from ipapython import certmonger
from ipapython.certdb import get_ca_nickname
-from ipalib import pkcs10
-from ConfigParser import RawConfigParser, MissingSectionHeaderError
from ipapython import services as ipaservices
-from ipalib import x509
from ipapython.dn import DN
+from ipalib import pkcs10, x509, api
from ipalib.errors import CertificateOperationError
from ipalib.text import _
-from nss.error import NSPRError
-import nss.nss as nss
-
-from ipalib import api
-
# Apache needs access to this database so we need to create it
# where apache can reach
NSS_DIR = "/etc/httpd/alias"