Skip to content

Commit

Permalink
Merge "Remove unused _db_error code from cmd/manage.py"
Browse files Browse the repository at this point in the history
  • Loading branch information
Zuul authored and openstack-gerrit committed Jun 18, 2021
2 parents fa05c2e + 57eb79d commit 81b8071
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions cinder/cmd/manage.py
Original file line number Diff line number Diff line change
Expand Up @@ -109,14 +109,6 @@ def _decorator(func):
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."""

Expand Down

0 comments on commit 81b8071

Please sign in to comment.