removed unused imports
This commit is contained in:
parent
7b954b8cd5
commit
921258749a
14 changed files with 7 additions and 17 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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}
|
||||
|
||||
|
|
|
|||
|
|
@ -19,7 +19,6 @@
|
|||
# Authors:
|
||||
# Mike McLean <mikem@redhat.com>
|
||||
|
||||
import koji
|
||||
import sys
|
||||
import traceback
|
||||
from koji.util import LazyDict
|
||||
|
|
|
|||
|
|
@ -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)
|
||||
|
|
|
|||
|
|
@ -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:
|
||||
|
|
|
|||
|
|
@ -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:
|
||||
|
|
|
|||
|
|
@ -1,7 +1,6 @@
|
|||
import unittest
|
||||
import mock
|
||||
|
||||
import koji
|
||||
import kojihub
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -1,7 +1,6 @@
|
|||
import unittest
|
||||
import mock
|
||||
|
||||
import koji
|
||||
import kojihub
|
||||
|
||||
QP = kojihub.QueryProcessor
|
||||
|
|
|
|||
|
|
@ -1,7 +1,6 @@
|
|||
import unittest
|
||||
import mock
|
||||
|
||||
import koji
|
||||
import kojihub
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -1,4 +1,3 @@
|
|||
import unittest
|
||||
import mock
|
||||
|
||||
import koji
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -33,7 +33,6 @@ import subprocess
|
|||
import sys
|
||||
import tempfile
|
||||
import time
|
||||
import urlparse
|
||||
import xmlrpclib
|
||||
import base64
|
||||
import hashlib
|
||||
|
|
|
|||
|
|
@ -26,8 +26,6 @@ import re
|
|||
import sys
|
||||
import mimetypes
|
||||
import Cookie
|
||||
import Cheetah.Filters
|
||||
import Cheetah.Template
|
||||
import datetime
|
||||
import logging
|
||||
import time
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue