Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
athena
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Requirements
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
Lawrence Davou Christopher
athena
Commits
b9b98c17
Commit
b9b98c17
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
f41be1b1
Loading
Loading
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 @
b9b98c17
...
...
@@ -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