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
SOaAS
psot.repository
Commits
db0034f9
Commit
db0034f9
authored
Mar 23, 2017
by
Lukas Jelonek
Browse files
Fix bug: psot info throws exceptions, due to data model changes
parent
290bf108
Changes
1
Hide whitespace changes
Inline
Side-by-side
bin/psot
View file @
db0034f9
...
...
@@ -88,11 +88,12 @@ def show_analyses(config):
print
(
' {0:<20} - {1}'
.
format
(
profile
[
'name'
],
profile
[
'info'
]))
if
'modules'
in
profile
:
for
module
in
profile
[
'modules'
]:
print
(
' {0:<20}'
.
format
(
module
))
print
(
' {0:<20}'
.
format
(
module
[
'name'
]
))
print
()
print
(
'Available modules for custom profile:'
)
for
module
in
config
[
'modules'
]:
for
key
in
config
[
'modules'
]:
module
=
config
[
'modules'
][
key
]
print
(
' {0:<20} - {1}'
.
format
(
module
[
'name'
],
module
[
'info'
]))
if
__name__
==
"__main__"
:
...
...
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