]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
neutron-db-manage: fix check_migration for branch-less migration directories
authorIhar Hrachyshka <ihrachys@redhat.com>
Fri, 17 Jul 2015 22:48:30 +0000 (00:48 +0200)
committerIhar Hrachyshka <ihrachys@redhat.com>
Fri, 17 Jul 2015 23:37:52 +0000 (23:37 +0000)
commit04f71b22e7a52c6dd01d498bdbed286007a65aa3
tree13200a43f08a57227a6ddc6d93acd2c0dbef1ff9
parentdbe7cac34be90232c15ee679fe771129691afff5
neutron-db-manage: fix check_migration for branch-less migration directories

I3823900bc5aaf7757c37edb804027cf4d9c757ab introduced support for
multi-branch migration directories in neutron-db-manage. That broke
check_migration for those projects without multiple branches.

The tool should properly handle both types of directories for forseable
future.

Related-Bug: #1475804
Change-Id: Ie4d20f5119018ffdebe2929b961c5ddb314ed734
neutron/db/migration/cli.py
neutron/tests/unit/db/test_migration.py