Remove unused _db_error code from cmd/manage.py

This method is not used.

Change-Id: I4a877013d4518494e86f3112513625e2e945fffb
This commit is contained in:
Eric Harney 2021-03-30 17:47:21 -04:00
parent a66f688992
commit 57eb79d265
1 changed files with 0 additions and 8 deletions

View File

@ -129,14 +129,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."""