removed unused imports

This commit is contained in:
Tomas Kopecek 2016-10-04 15:17:25 +02:00
parent 7b954b8cd5
commit 921258749a
14 changed files with 7 additions and 17 deletions

View file

@ -12,8 +12,8 @@
# All configuration values have a default; values that are commented out
# serve to show the default.
import sys
import os
#import sys
#import os
# If extensions (or modules to document with autodoc) are in another directory,
# add these directories to sys.path here. If the directory is relative to the

View file

@ -65,7 +65,6 @@ import xmlrpclib
import xml.sax
import xml.sax.handler
from xmlrpclib import loads, dumps, Fault
import zipfile
PROFILE_MODULES = {} # {module_name: module_instance}

View file

@ -19,7 +19,6 @@
# Authors:
# Mike McLean <mikem@redhat.com>
import koji
import sys
import traceback
from koji.util import LazyDict

View file

@ -19,7 +19,6 @@ from OpenSSL import SSL
import SSLConnection
import httplib
import socket
import SocketServer
def our_verify(connection, x509, errNum, errDepth, preverifyOK):
# print "Verify: errNum = %s, errDepth = %s, preverifyOK = %s" % (errNum, errDepth, preverifyOK)

View file

@ -6,8 +6,8 @@
# Modifications by Dan Williams <dcbw@redhat.com>
from OpenSSL import SSL, crypto
import os, string, time, socket, select
from OpenSSL import SSL
import time, socket, select
class SSLConnection:

View file

@ -33,6 +33,7 @@ import time
import ConfigParser
from zlib import adler32
# imported from kojiweb and kojihub
try:
from hashlib import md5 as md5_constructor
except ImportError:

View file

@ -1,7 +1,6 @@
import unittest
import mock
import koji
import kojihub

View file

@ -1,7 +1,6 @@
import unittest
import mock
import koji
import kojihub
QP = kojihub.QueryProcessor

View file

@ -1,7 +1,6 @@
import unittest
import mock
import koji
import kojihub

View file

@ -1,4 +1,3 @@
import unittest
import mock
import koji

View file

@ -1,9 +1,9 @@
import random
from unittest import TestCase
from mock import patch, mock_open, Mock, call
from mock import patch, Mock, call
from tempfile import gettempdir
from shutil import rmtree
from os import path, makedirs, stat, getuid, getgid
from os import path, makedirs
from io import StringIO
import koji

View file

@ -33,7 +33,6 @@ import subprocess
import sys
import tempfile
import time
import urlparse
import xmlrpclib
import base64
import hashlib

View file

@ -26,8 +26,6 @@ import re
import sys
import mimetypes
import Cookie
import Cheetah.Filters
import Cheetah.Template
import datetime
import logging
import time

View file

@ -26,7 +26,6 @@ import koji
from koji.util import md5_constructor
import os
import stat
import time
#a bunch of exception classes that explainError needs
from socket import error as socket_error
from socket import sslerror as socket_sslerror