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
OSUG
RESIF
resif_data_reporter
Commits
930008ee
Commit
930008ee
authored
Apr 05, 2019
by
Jonathan Schaeffer
Browse files
safeloader
parent
9ec8672d
Changes
1
Hide whitespace changes
Inline
Side-by-side
resifdatareporter/resifdatareporter.py
View file @
930008ee
...
...
@@ -112,7 +112,7 @@ def cli(configfile):
if
not
cache_file
.
startswith
(
'/'
):
cache_file
=
os
.
path
.
split
(
configfile
.
name
)[
0
]
+
'/'
+
cache_file
with
open
(
cache_file
,
'r'
)
as
ymlfile
:
cache
=
yaml
.
load
(
ymlfile
)
cache
=
yaml
.
load
(
ymlfile
,
Loader
=
yaml
.
SafeLoader
)
# Compare volumes in cfg and in cache
if
cfg
[
'volumes'
]
==
cache
[
'volumes'
]:
# Get previous run data
...
...
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