karbor/karbor/cmd
yushangbin 9299ff11c8 Provide user friendly messages for db sync
Currently 'karbor-manage db sync' prints stacktrace if you
pass invalid value for 'version'.

This patch validates 'version' for its type and maximum
limit and displays a meaningful message to the user.

Handles DbMigrationError exception when database schema
file is not present in migration repository.

Closes-Bug: #1699893
Change-Id: I2ebc068dfee9fdba20183fb996f703bc44d7ca09
2017-06-23 09:44:44 +08:00
..
__init__.py Change Smaug to Karbor 2016-08-18 22:55:34 +08:00
api.py cross platform support 2016-11-11 03:52:20 +08:00
manage.py Provide user friendly messages for db sync 2017-06-23 09:44:44 +08:00
operationengine.py Change Smaug to Karbor 2016-08-18 22:55:34 +08:00
protection.py Change Smaug to Karbor 2016-08-18 22:55:34 +08:00