Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
TASTE
pymsc
Commits
90629029
Commit
90629029
authored
Jan 05, 2015
by
Maxime Perrotin
Browse files
Set logging basic config
parent
5cccc1d6
Changes
1
Hide whitespace changes
Inline
Side-by-side
msccore/basicmsc.py
View file @
90629029
...
...
@@ -49,9 +49,9 @@ import logging
from
msc
import
Msc
from
mscevent
import
MscEvent
logging
.
basicConfig
()
logger
=
logging
.
getLogger
(
__name__
)
class
BasicMsc
(
Msc
):
u
"""
...
...
@@ -123,7 +123,7 @@ class BasicMsc(Msc):
that the content of this basic MSC are changed.
"""
if
self
.
_instances
.
count
(
inst
)
==
0
:
logger
.
warning
(
"Trying to remove not associated instance
to this "
logger
.
warning
(
"Trying to remove not associated instance to this "
"basic msc"
)
return
False
# Check if instance is child of me
...
...
Write
Preview
Supports
Markdown
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