Cleaned up some of the easy pylint warnings (e.g. unused import/variables)

This commit is contained in:
Ken Thomas 2012-02-07 09:04:59 -08:00
parent 8841815779
commit 7509a9b996
12 changed files with 0 additions and 21 deletions

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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]

View File

@ -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