Remove unused _db_error code from cmd/manage.py
This method is not used. Change-Id: I4a877013d4518494e86f3112513625e2e945fffb
This commit is contained in:
parent
a66f688992
commit
57eb79d265
|
@ -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."""
|
||||
|
||||
|
|
Loading…
Reference in New Issue