Cleaned up some of the easy pylint warnings (e.g. unused import/variables)
This commit is contained in:
parent
8841815779
commit
7509a9b996
@ -15,7 +15,6 @@
|
||||
# under the License.
|
||||
|
||||
from devstack import downloader as down
|
||||
from devstack import exceptions as excp
|
||||
from devstack import log as logging
|
||||
from devstack import pip
|
||||
from devstack import settings
|
||||
|
@ -22,7 +22,6 @@ from devstack import component as comp
|
||||
from devstack import log as logging
|
||||
from devstack import settings
|
||||
from devstack import shell as sh
|
||||
from devstack import utils
|
||||
|
||||
from devstack.components import db
|
||||
from devstack.components import keystone
|
||||
|
@ -17,8 +17,6 @@
|
||||
from devstack import component as comp
|
||||
from devstack import log as logging
|
||||
from devstack import settings
|
||||
from devstack import shell as sh
|
||||
from devstack import utils
|
||||
|
||||
#id
|
||||
TYPE = settings.KEYSTONE_CLIENT
|
||||
|
@ -17,8 +17,6 @@
|
||||
from devstack import component as comp
|
||||
from devstack import log as logging
|
||||
from devstack import settings
|
||||
from devstack import shell as sh
|
||||
from devstack import utils
|
||||
|
||||
#id
|
||||
TYPE = settings.MELANGE_CLIENT
|
||||
|
@ -17,8 +17,6 @@
|
||||
from devstack import component as comp
|
||||
from devstack import log as logging
|
||||
from devstack import settings
|
||||
from devstack import shell as sh
|
||||
from devstack import utils
|
||||
|
||||
#id
|
||||
TYPE = settings.NOVA_CLIENT
|
||||
|
@ -17,8 +17,6 @@
|
||||
from devstack import component as comp
|
||||
from devstack import log as logging
|
||||
from devstack import settings
|
||||
from devstack import shell as sh
|
||||
from devstack import utils
|
||||
|
||||
#id
|
||||
TYPE = settings.QUANTUM_CLIENT
|
||||
|
@ -18,12 +18,10 @@ from tempfile import TemporaryFile
|
||||
import time
|
||||
|
||||
from devstack import component as comp
|
||||
from devstack import exceptions as excp
|
||||
from devstack import log as logging
|
||||
from devstack import settings
|
||||
from devstack import shell as sh
|
||||
from devstack import trace as tr
|
||||
from devstack import utils
|
||||
|
||||
#id
|
||||
TYPE = settings.RABBIT
|
||||
|
@ -14,14 +14,9 @@
|
||||
# License for the specific language governing permissions and limitations
|
||||
# under the License.
|
||||
|
||||
import os
|
||||
import os.path
|
||||
|
||||
from devstack import component as comp
|
||||
from devstack import log as logging
|
||||
from devstack import settings
|
||||
from devstack import shell as sh
|
||||
from devstack import utils
|
||||
|
||||
# id
|
||||
TYPE = settings.SWIFT_KEYSTONE
|
||||
|
@ -17,7 +17,6 @@
|
||||
from optparse import IndentedHelpFormatter
|
||||
from optparse import OptionParser, OptionGroup
|
||||
|
||||
from devstack import shell as sh
|
||||
from devstack import log as logging
|
||||
from devstack import settings
|
||||
from devstack import version
|
||||
|
@ -14,7 +14,6 @@
|
||||
# License for the specific language governing permissions and limitations
|
||||
# under the License.
|
||||
|
||||
from devstack import exceptions as excp
|
||||
from devstack import log as logging
|
||||
from devstack import packager as pack
|
||||
from devstack import settings
|
||||
|
@ -54,7 +54,6 @@ def uninstall(pips, distro, skip_errors=True):
|
||||
pipnames = sorted(pips.keys())
|
||||
LOG.info("Uninstalling python packages [%s]" % (", ".join(pipnames)))
|
||||
for name in pipnames:
|
||||
pipinfo = pips.get(name, dict())
|
||||
try:
|
||||
root_cmd = PIP_CMD_NAMES.get(distro, 'pip')
|
||||
cmd = [root_cmd, 'uninstall'] + PIP_UNINSTALL_CMD_OPTS + [name]
|
||||
|
@ -24,7 +24,6 @@ import platform
|
||||
import random
|
||||
import re
|
||||
import termcolor
|
||||
import traceback
|
||||
|
||||
from devstack import exceptions as excp
|
||||
from devstack import log as logging
|
||||
|
Loading…
x
Reference in New Issue
Block a user