Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
athena
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Terraform modules
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Alessandro Sala
athena
Commits
361fb38a
Commit
361fb38a
authored
8 years ago
by
William Panduro Vazquez
Committed by
Graeme Stewart
8 years ago
Browse files
Options
Downloads
Patches
Plain Diff
fix for
ATR-14794
(TrigConfigSvc-01-01-67-01)
parent
842f33e6
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Trigger/TrigConfiguration/TrigConfigSvc/python/TrigConf2COOLLib.py
+6
-5
6 additions, 5 deletions
...rigConfiguration/TrigConfigSvc/python/TrigConf2COOLLib.py
with
6 additions
and
5 deletions
Trigger/TrigConfiguration/TrigConfigSvc/python/TrigConf2COOLLib.py
+
6
−
5
View file @
361fb38a
...
...
@@ -28,12 +28,13 @@ class TmpThr(threading.Thread):
output
=
os
.
popen
(
self
.
syscmd
).
readlines
()
maxlevel
=
0
for
line
in
output
:
if
'
warning
'
in
line
.
lower
():
line
=
line
.
lower
()
if
'
warning
'
in
line
:
maxlevel
=
max
(
1
,
maxlevel
)
if
'
error
'
in
line
.
lower
()
:
maxlevel
=
max
(
2
,
maxlevel
)
elif
'
fatal
'
in
line
.
lower
()
or
'
exception
'
in
line
.
lower
():
maxlevel
=
max
(
3
,
maxlevel
)
if
'
error
'
in
line
and
not
'
connection refused
'
in
line
:
maxlevel
=
max
(
2
,
maxlevel
)
elif
'
fatal
'
in
line
.
lower
()
or
'
exception
'
in
line
.
lower
():
maxlevel
=
max
(
3
,
maxlevel
)
output
=
''
.
join
(
output
)
if
maxlevel
==
1
:
msg
.
warning
(
output
)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment