Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
bis-aria
ariaec
Commits
990419e2
Commit
990419e2
authored
Jun 26, 2019
by
Fabrice ALLAIN
Browse files
fix: solve issue with warnings in the logger
parent
4dfb95cd
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/aria/core/ariabase.py
View file @
990419e2
...
...
@@ -444,8 +444,9 @@ class AriaBaseClass:
if
self
.
warnings_as_errors
:
self
.
error
(
msg
=
msg
)
else
:
prefix
=
self
.
__compile_name
(
'WARNING'
)
self
.
__print
(
prefix
,
msg
,
verbose_level
,
func
=
func
)
# TODO: Find a way to use prefix correctly
# prefix = self.__compile_name('WARNING')
self
.
__print
(
'WARNING'
,
str
(
msg
),
verbose_level
,
func
=
func
)
def
halt
(
self
):
"""aborts ARIA"""
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment