Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
CIRCLE3
/
salt
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
1
Merge Requests
0
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
A prog2-höz tartozó friss repo anyagok itt elérhetőek:
https://git.iit.bme.hu/
Commit
250bc29b
authored
Jan 19, 2022
by
Szeberényi Imre
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update install.py
parent
854f912f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
install.py
+2
-2
No files found.
install.py
View file @
250bc29b
...
...
@@ -79,7 +79,7 @@ def yaml_pretty_dump(data, file, **extra):
def
dump_errors
(
result
):
# Filter errors only
errors
=
{}
for
key
,
data
in
result
.
ite
rite
ms
():
for
key
,
data
in
result
.
items
():
if
not
data
[
'result'
]:
errors
[
key
]
=
data
with
open
(
join
(
PREFIX
,
'errors.yml'
),
'w'
)
as
f
:
...
...
@@ -208,7 +208,7 @@ with Halo(text='Installing', spinner='dots'):
# Count errors and print to console
error_num
=
0
for
key
,
data
in
result
.
ite
rite
ms
():
for
key
,
data
in
result
.
items
():
if
not
data
[
'result'
]:
print
(
'Error in state:
%
s'
%
key
)
error_num
+=
1
...
...
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