Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
O
OpenXG-RAN
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lizhongxiao
OpenXG-RAN
Commits
c86fac47
Commit
c86fac47
authored
Aug 31, 2020
by
hardy
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixing typo to make it work
parent
88f9d88a
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
10 deletions
+8
-10
ci-scripts/main.py
ci-scripts/main.py
+8
-10
No files found.
ci-scripts/main.py
View file @
c86fac47
...
...
@@ -3321,20 +3321,18 @@ def receive_signal(signum, frame):
#loading xml action list from yaml
import
yaml
xml_class_list_file
=
''
if
(
os
.
path
.
isfile
(
'xml_class_list.yml'
)):
xml_class_list_file
=
'xml_class_list.yml'
elif
(
os
.
path
.
isfile
(
'ci-scripts/xml_class_list.yml'
)):
xml_class_list_file
=
'ci-scripts/xml_class_list.yml'
xml_class_list_file
=
'ci-scripts/xml_class_list.yml'
if
(
os
.
path
.
isfile
(
xml_class_list_file
)):
#file will be opened only if it exists
with
open
(
xml_class_list_file
,
'r'
)
as
file
:
# The FullLoader parameter handles the conversion
#from YAML scalar values to Python dictionary format
xml_class_list
=
yaml
.
load
(
file
,
Loader
=
yaml
.
FullLoader
)
else
:
logging
.
error
(
"XML action list yaml file cannot be found"
)
sys
.
exit
(
"XML action list yaml file cannot be found"
)
#file will be opened only if it exists
with
open
(
xml_class_list_file
,
'r'
)
as
file
:
# The FullLoader parameter handles the conversion
#from YAML scalar values to Python dictionary format
xml_class_list
=
yaml
.
load
(
file
,
Loader
=
yaml
.
FullLoader
)
mode
=
''
...
...
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