Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
CIRCLE
/
salt
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
17
Merge Requests
1
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
10382376
authored
Dec 05, 2017
by
Nótai István
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
install: fix error dumping
parent
417fbba8
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
install.py
+3
-2
No files found.
install.py
View file @
10382376
...
...
@@ -78,11 +78,12 @@ def yaml_pretty_dump(data, file, **extra):
def
dump_errors
(
result
):
# Filter errors only
errors
=
{}
for
key
,
data
in
result
.
iteritems
():
if
not
data
[
'result'
]:
del
result
[
key
]
errors
[
key
]
=
data
with
open
(
join
(
PREFIX
,
'errors.yml'
),
'w'
)
as
f
:
yaml_pretty_dump
(
result
,
f
)
yaml_pretty_dump
(
errors
,
f
)
class
KeyStore
:
...
...
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