Debian Automated Code Analysis

pyflakes analysis of python-glance_2011.2-1_all.deb

./usr/share/pyshared/glance/client.py:24: 'logging' imported but unused
./usr/share/pyshared/glance/client.py:25: 'urlparse' imported but unused
./usr/share/pyshared/glance/client.py:27: 'sys' imported but unused
./usr/share/pyshared/glance/version.py:20: redefinition of unused 'version_info' from line 18
./usr/share/pyshared/glance/server.py:35: 'sys' imported but unused
./usr/share/pyshared/glance/server.py:45: 'get_store_from_location' imported but unused
./usr/share/pyshared/glance/server.py:211: local variable 'e' is assigned to but never used
./usr/share/pyshared/glance/server.py:430: local variable 'e' is assigned to but never used
./usr/share/pyshared/glance/common/config.py:23: 'ConfigParser' imported but unused
./usr/share/pyshared/glance/common/config.py:29: 're' imported but unused
./usr/share/pyshared/glance/common/config.py:34: 'exception' imported but unused
./usr/share/pyshared/glance/common/config.py:299: local variable 'e' is assigned to but never used
./usr/share/pyshared/glance/common/exception.py:25: 'sys' imported but unused
./usr/share/pyshared/glance/common/exception.py:26: 'traceback' imported but unused
./usr/share/pyshared/glance/common/utils.py:29: 'socket' imported but unused
./usr/share/pyshared/glance/store/s3.py:73: undefined name 'boto'
./usr/share/pyshared/glance/store/filesystem.py:25: 'urlparse' imported but unused
./usr/share/pyshared/glance/store/__init__.py:18: 'optparse' imported but unused
./usr/share/pyshared/glance/store/__init__.py:19: 'os' imported but unused
./usr/share/pyshared/glance/store/__init__.py:22: 'exception' imported but unused
./usr/share/pyshared/glance/store/swift.py:64: local variable 'location' is assigned to but never used
./usr/share/pyshared/glance/store/swift.py:191: local variable 'location' is assigned to but never used
./usr/share/pyshared/glance/store/swift.py:277: undefined name 'ClientException'
./usr/share/pyshared/glance/registry/client.py:23: 'httplib' imported but unused
./usr/share/pyshared/glance/registry/client.py:25: 'logging' imported but unused
./usr/share/pyshared/glance/registry/client.py:26: 'urlparse' imported but unused
./usr/share/pyshared/glance/registry/client.py:27: 'socket' imported but unused
./usr/share/pyshared/glance/registry/client.py:28: 'sys' imported but unused
./usr/share/pyshared/glance/registry/client.py:30: 'exception' imported but unused
./usr/share/pyshared/glance/registry/server.py:142: local variable 'e' is assigned to but never used
./usr/share/pyshared/glance/registry/server.py:171: local variable 'e' is assigned to but never used
./usr/share/pyshared/glance/registry/db/api.py:27: 'declarative_base' imported but unused
./usr/share/pyshared/glance/registry/db/api.py:34: 'utils' imported but unused
./usr/share/pyshared/glance/registry/db/models.py:23: 'sys' imported but unused
./usr/share/pyshared/glance/registry/db/models.py:26: 'validates' imported but unused
./usr/share/pyshared/glance/registry/db/models.py:26: 'exc' imported but unused
./usr/share/pyshared/glance/registry/db/models.py:33: 'exception' imported but unused
./usr/share/pyshared/glance/registry/db/migration.py:27: redefinition of unused 'versioning_exceptions' from line 25
./usr/share/pyshared/glance/registry/db/migration.py:45: local variable 'e' is assigned to but never used
./usr/share/pyshared/glance/registry/db/migration.py:61: local variable 'version_str' is assigned to but never used
./usr/share/pyshared/glance/registry/db/migration.py:87: local variable 'sql_connection' is assigned to but never used
./usr/share/pyshared/glance/registry/db/migration.py:90: local variable 'e' is assigned to but never used
./usr/share/pyshared/glance/registry/db/migration.py:114: local variable 'e' is assigned to but never used
./usr/share/pyshared/glance/registry/db/migrate_repo/schema.py:25: 'MetaData' imported but unused
./usr/share/pyshared/glance/registry/db/migrate_repo/versions/002_add_image_properties_table.py:30: local variable 'images' is assigned to but never used
./usr/share/pyshared/glance/registry/db/migrate_repo/versions/004_add_checksum.py:18: 'from migrate.changeset import *' used; unable to detect undefined names
./usr/share/pyshared/glance/registry/db/migrate_repo/versions/004_add_checksum.py:19: 'from sqlalchemy import *' used; unable to detect undefined names
./usr/share/pyshared/glance/registry/db/migrate_repo/versions/004_add_checksum.py:20: 'not_' imported but unused
./usr/share/pyshared/glance/registry/db/migrate_repo/versions/004_add_checksum.py:20: 'and_' imported but unused
./usr/share/pyshared/glance/registry/db/migrate_repo/versions/003_add_disk_format.py:18: 'from migrate.changeset import *' used; unable to detect undefined names
./usr/share/pyshared/glance/registry/db/migrate_repo/versions/003_add_disk_format.py:19: 'from sqlalchemy import *' used; unable to detect undefined names
./usr/share/pyshared/glance/registry/db/migrate_repo/versions/003_add_disk_format.py:20: 'not_' imported but unused
./usr/share/pyshared/glance/registry/db/migrate_repo/versions/005_size_big_integer.py:18: 'from migrate.changeset import *' used; unable to detect undefined names
./usr/share/pyshared/glance/registry/db/migrate_repo/versions/005_size_big_integer.py:19: 'from sqlalchemy import *' used; unable to detect undefined names
./usr/share/pyshared/glance/registry/db/migrate_repo/versions/006_key_to_name.py:18: 'from migrate.changeset import *' used; unable to detect undefined names
./usr/share/pyshared/glance/registry/db/migrate_repo/versions/006_key_to_name.py:19: 'from sqlalchemy import *' used; unable to detect undefined names
./usr/share/pyshared/glance/registry/db/migrate_repo/versions/006_key_to_name.py:20: 'not_' imported but unused
./usr/share/pyshared/glance/registry/db/migrate_repo/versions/006_key_to_name.py:20: 'and_' imported but unused
./usr/share/pyshared/glance/registry/db/migrate_repo/versions/006_key_to_name.py:45: local variable 'images' is assigned to but never used
./usr/share/pyshared/tests/unit/test_migrations.py:34: 'from sqlalchemy import *' used; unable to detect undefined names
./usr/share/pyshared/tests/unit/test_migrations.py:102: local variable 'database' is assigned to but never used
./usr/share/pyshared/tests/unit/test_migrations.py:104: local variable 'host' is assigned to but never used
./usr/share/pyshared/tests/unit/test_migrations.py:106: local variable 'user' is assigned to but never used
./usr/share/pyshared/tests/unit/test_migrations.py:110: local variable 'password' is assigned to but never used
./usr/share/pyshared/tests/unit/test_migrations.py:111: local variable 'sql' is assigned to but never used
./usr/share/pyshared/tests/unit/test_swift_store.py:23: 'sys' imported but unused
./usr/share/pyshared/tests/unit/test_filesystem_store.py:114: local variable 'options' is assigned to but never used
./usr/share/pyshared/tests/unit/test_config.py:19: 'tempfile' imported but unused
./usr/share/pyshared/tests/unit/test_stores.py:18: 'StringIO' imported but unused
./usr/share/pyshared/tests/unit/test_stores.py:22: 'urlparse' imported but unused
./usr/share/pyshared/tests/unit/test_stores.py:25: 'BackendException' imported but unused
./usr/share/pyshared/tests/unit/test_clients.py:18: 'json' imported but unused
./usr/share/pyshared/tests/unit/test_clients.py:21: 'StringIO' imported but unused
./usr/share/pyshared/tests/unit/test_clients.py:24: 'webob' imported but unused
./usr/share/pyshared/tests/unit/test_clients.py:105: local variable 'el' is assigned to but never used
./usr/share/pyshared/tests/unit/test_clients.py:307: local variable 'fixture' is assigned to but never used
./usr/share/pyshared/tests/functional/test_misc.py:18: 'unittest' imported but unused
./usr/share/pyshared/tests/functional/test_logging.py:19: 'unittest' imported but unused
./usr/share/pyshared/tests/functional/test_bin_glance.py:20: 'os' imported but unused
./usr/share/pyshared/tests/functional/test_bin_glance.py:21: 'unittest' imported but unused
./usr/share/pyshared/tests/functional/__init__.py:92: local variable 'database' is assigned to but never used
./usr/share/pyshared/tests/functional/__init__.py:94: local variable 'host' is assigned to but never used
./usr/share/pyshared/tests/functional/__init__.py:96: local variable 'user' is assigned to but never used
./usr/share/pyshared/tests/functional/__init__.py:100: local variable 'password' is assigned to but never used
./usr/share/pyshared/tests/functional/__init__.py:101: local variable 'sql' is assigned to but never used
./usr/share/pyshared/tests/functional/__init__.py:210: local variable 'e' is assigned to but never used
./usr/share/pyshared/tests/functional/test_curl_api.py:21: 'os' imported but unused
./usr/share/pyshared/tests/functional/test_curl_api.py:23: 'unittest' imported but unused

This report was generated on Fri, 10 Jun 2011 06:43:27 +0000, based on results by pyflakes 0.4.0-1