Merge "Python 3: sort tables by their full name"

This commit is contained in:
Jenkins 2015-05-19 07:34:42 +00:00 committed by Gerrit Code Review
commit 273e9eaf37

View File

@ -91,7 +91,7 @@ def upgrade(migrate_engine):
)
tables = [meter, project, resource, user, source, sourceassoc]
for i in sorted(tables):
for i in sorted(tables, key=lambda table: table.fullname):
i.create()