diff options
| author | Justin Shepherd <jshepher@rackspace.com> | 2011-05-10 17:21:37 -0500 |
|---|---|---|
| committer | Justin Shepherd <jshepher@rackspace.com> | 2011-05-10 17:21:37 -0500 |
| commit | 172ce9f39564eb4d416dae3ce7abafc46af8f695 (patch) | |
| tree | 6b86724c884dd92cd797e6c997ef008af7f6e91d /nova/db | |
| parent | 849c5f10dc15d9c2272d5768748feac1ded6b635 (diff) | |
| download | nova-172ce9f39564eb4d416dae3ce7abafc46af8f695.tar.gz nova-172ce9f39564eb4d416dae3ce7abafc46af8f695.tar.xz nova-172ce9f39564eb4d416dae3ce7abafc46af8f695.zip | |
removed unused wild card imports, replaced sqlalchemy wildcard import with explicit imports
previous pylint score: -63.75/10
new pylint score: 2.67/10
Diffstat (limited to 'nova/db')
| -rw-r--r-- | nova/db/sqlalchemy/migrate_repo/versions/012_add_ipv6_flatmanager.py | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/nova/db/sqlalchemy/migrate_repo/versions/012_add_ipv6_flatmanager.py b/nova/db/sqlalchemy/migrate_repo/versions/012_add_ipv6_flatmanager.py index e87085668..317e8431d 100644 --- a/nova/db/sqlalchemy/migrate_repo/versions/012_add_ipv6_flatmanager.py +++ b/nova/db/sqlalchemy/migrate_repo/versions/012_add_ipv6_flatmanager.py @@ -13,15 +13,10 @@ # License for the specific language governing permissions and limitations # under the License. -from sqlalchemy import * -from migrate import * - -from nova import log as logging - - +from sqlalchemy import Boolean, Column, DateTime, ForeignKey, Integer +from sqlalchemy import MetaData, String, Table meta = MetaData() - # Table stub-definitions # Just for the ForeignKey and column creation to succeed, these are not the # actual definitions of instances or services. |
