remove unused imports
This commit is contained in:
parent
63c50c2a31
commit
5b83c682e4
7 changed files with 7 additions and 10 deletions
2
cli/koji
2
cli/koji
|
|
@ -39,7 +39,7 @@ import six.moves.xmlrpc_client
|
|||
import koji
|
||||
import koji.plugin
|
||||
import koji.util
|
||||
from koji_cli.commands import *
|
||||
from koji_cli.commands import * # noqa: F401, F403
|
||||
from koji_cli.lib import _, categories, get_epilog_str, greetings, warn
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -26,9 +26,9 @@ from koji.util import base64encode, to_list
|
|||
from koji_cli.lib import (_, _list_tasks, _progress_callback, _running_in_bg,
|
||||
activate_session, arg_filter, download_file, error,
|
||||
format_inheritance_flags, greetings, linked_upload,
|
||||
list_task_output_all_volumes, parse_arches,
|
||||
print_task_headers, print_task_recurse, unique_path,
|
||||
warn, watch_logs, watch_tasks)
|
||||
list_task_output_all_volumes, print_task_headers,
|
||||
print_task_recurse, unique_path, warn, watch_logs,
|
||||
watch_tasks)
|
||||
|
||||
try:
|
||||
import libcomps
|
||||
|
|
|
|||
|
|
@ -37,7 +37,6 @@ import os.path
|
|||
import pwd
|
||||
import random
|
||||
import re
|
||||
import shutil
|
||||
import signal
|
||||
import socket
|
||||
import struct
|
||||
|
|
|
|||
|
|
@ -25,7 +25,6 @@ import logging
|
|||
import os
|
||||
import pprint
|
||||
import random
|
||||
import shutil
|
||||
import signal
|
||||
import time
|
||||
|
||||
|
|
|
|||
|
|
@ -47,7 +47,7 @@ import six
|
|||
import six.moves.xmlrpc_client
|
||||
# urllib is required by the SCM class which is substituted into this file
|
||||
# do not remove the import below
|
||||
from six.moves import urllib
|
||||
from six.moves import urllib # noqa: F401
|
||||
from six.moves.configparser import ConfigParser, SafeConfigParser
|
||||
|
||||
MANAGER_PORT = 7000
|
||||
|
|
|
|||
|
|
@ -41,14 +41,14 @@ from optparse import OptionParser
|
|||
import libvirt
|
||||
import libxml2
|
||||
import requests
|
||||
import rpm
|
||||
import six.moves.xmlrpc_client
|
||||
import six.moves.xmlrpc_server
|
||||
|
||||
import koji
|
||||
import koji.util
|
||||
from koji.daemon import SCM, TaskManager
|
||||
from koji.tasks import (BaseTaskHandler, MultiPlatformTask, RestartTask,
|
||||
# TaskHandlers are required to be imported, do not remove them
|
||||
from koji.tasks import (BaseTaskHandler, MultiPlatformTask, RestartTask, # noqa: F401
|
||||
RestartVerifyTask, ServerExit, ServerRestart)
|
||||
|
||||
try:
|
||||
|
|
|
|||
|
|
@ -27,7 +27,6 @@ import hashlib
|
|||
import os
|
||||
import ssl
|
||||
import stat
|
||||
import time
|
||||
#a bunch of exception classes that explainError needs
|
||||
from socket import error as socket_error
|
||||
from xml.parsers.expat import ExpatError
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue