Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Global name error when raising exception #15

Open
yellowpattern opened this issue Mar 17, 2020 · 0 comments
Open

Global name error when raising exception #15

yellowpattern opened this issue Mar 17, 2020 · 0 comments
Assignees
Labels

Comments

@yellowpattern
Copy link

yellowpattern commented Mar 17, 2020

This expression:

raise exception.CinderException(_('%s is not set') % flag)
results in this:

ERROR cinder.volume.manager NameError: global name '_' is not defined

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants