Merge "Remove unused _db_error code from cmd/manage.py"

This commit is contained in:
Zuul 2021-06-18 20:57:40 +00:00 committed by Gerrit Code Review
commit 81b8071f17

View File

@ -109,14 +109,6 @@ def args(*args, **kwargs):
return _decorator
def _db_error(caught_exception):
print('%s' % caught_exception)
print(_("The above error may show that the database has not "
"been created.\nPlease create a database using "
"'cinder-manage db sync' before running this command."))
sys.exit(1)
class HostCommands(object):
"""List hosts."""