-
Notifications
You must be signed in to change notification settings - Fork 41
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixing wok_log redundancy and i18n.py error messages
This patch removes wok_log calls when they are just reproducing the same message of a call to a wok.exception (NotFoundError, OperationFailed ...) class. Wok exceptions already write the messages into the log and calling wok_log is redundant. Any other use of wok_log was preserved (logging a message that didn't appear to the user, for example). i18n.py messages were fixed along the way (wrong use of message strings, typos, etc). Affected files: model/swaps.py, model/users.py, model/utils.py, model/vol_group.py Signed-off-by: Daniel Henrique Barboza <[email protected]>
- Loading branch information
Showing
7 changed files
with
59 additions
and
282 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.