Remove and annotate a few unused (and py26 alternative) imports.

This commit is contained in:
Ryan Petrello
2013-01-08 12:37:23 -05:00
parent 1dd90ca058
commit 890f86d980
4 changed files with 7 additions and 8 deletions

View File

@@ -15,7 +15,7 @@ from configuration import _runtime_conf as conf
try:
from logging.config import dictConfig as load_logging_config
except ImportError:
from .compat.dictconfig import dictConfig as load_logging_config
from .compat.dictconfig import dictConfig as load_logging_config # noqa
__all__ = [

View File

@@ -1,4 +1,4 @@
from base import CommandRunner, BaseCommand
from serve import ServeCommand
from shell import ShellCommand
from create import CreateCommand
from base import CommandRunner, BaseCommand # noqa
from serve import ServeCommand # noqa
from shell import ShellCommand # noqa
from create import CreateCommand # noqa

View File

@@ -1,5 +1,4 @@
import urllib
import sys
try:
from simplejson import loads
except ImportError: # pragma: no cover

View File

@@ -23,10 +23,10 @@ try:
except ImportError: # pragma no cover
# dummy classes since we don't have SQLAlchemy installed
class ResultProxy:
class ResultProxy: # noqa
pass
class RowProxy:
class RowProxy: # noqa
pass