Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
Pyzenkit
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
713
Mentat
Pyzenkit
Commits
7760faeb
Commit
7760faeb
authored
Aug 9, 2017
by
Honza Mach
Browse files
Options
Downloads
Patches
Plain Diff
Fixed missing new lines when printing rendered widgets.
parent
6475dafe
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
pyzenkit/baseapp.py
+8
-8
8 additions, 8 deletions
pyzenkit/baseapp.py
with
8 additions
and
8 deletions
pyzenkit/baseapp.py
+
8
−
8
View file @
7760faeb
...
@@ -1333,7 +1333,7 @@ class BaseApp:
...
@@ -1333,7 +1333,7 @@ class BaseApp:
"""
"""
self
.
p
(
"
Script configurations:
"
)
self
.
p
(
"
Script configurations:
"
)
tree
=
pydgets
.
widgets
.
TreeWidget
()
tree
=
pydgets
.
widgets
.
TreeWidget
()
self
.
p
(
tree
.
render
(
self
.
config
))
self
.
p
(
"
\n
"
.
join
(
tree
.
render
(
self
.
config
))
)
def
cbk_action_runlog_dump
(
self
):
def
cbk_action_runlog_dump
(
self
):
"""
"""
...
@@ -1354,7 +1354,7 @@ class BaseApp:
...
@@ -1354,7 +1354,7 @@ class BaseApp:
runlog
=
self
.
json_load
(
input_file
)
runlog
=
self
.
json_load
(
input_file
)
self
.
p
(
""
)
self
.
p
(
""
)
tree
=
pydgets
.
widgets
.
TreeWidget
()
tree
=
pydgets
.
widgets
.
TreeWidget
()
self
.
p
(
tree
.
render
(
runlog
))
self
.
p
(
"
\n
"
.
join
(
tree
.
render
(
runlog
))
)
def
cbk_action_runlog_view
(
self
):
def
cbk_action_runlog_view
(
self
):
"""
"""
...
@@ -1397,7 +1397,7 @@ class BaseApp:
...
@@ -1397,7 +1397,7 @@ class BaseApp:
if
runlogtree
[
rld
]:
if
runlogtree
[
rld
]:
self
.
p
(
""
)
self
.
p
(
""
)
tree
=
pydgets
.
widgets
.
TreeWidget
()
tree
=
pydgets
.
widgets
.
TreeWidget
()
self
.
p
(
tree
.
render
(
runlogtree
))
self
.
p
(
"
\n
"
.
join
(
tree
.
render
(
runlogtree
))
)
def
cbk_action_runlogs_dump
(
self
):
def
cbk_action_runlogs_dump
(
self
):
"""
"""
...
@@ -1419,7 +1419,7 @@ class BaseApp:
...
@@ -1419,7 +1419,7 @@ class BaseApp:
tree
=
pydgets
.
widgets
.
TreeWidget
()
tree
=
pydgets
.
widgets
.
TreeWidget
()
for
runl
in
runlogs
:
for
runl
in
runlogs
:
self
.
p
(
"
Runlog
'
{}
'
:
"
.
format
(
runl
[
0
]))
self
.
p
(
"
Runlog
'
{}
'
:
"
.
format
(
runl
[
0
]))
self
.
p
(
tree
.
render
(
runl
[
1
]))
self
.
p
(
"
\n
"
.
join
(
tree
.
render
(
runl
[
1
]))
)
def
cbk_action_runlogs_evaluate
(
self
):
def
cbk_action_runlogs_evaluate
(
self
):
"""
"""
...
@@ -1501,10 +1501,10 @@ class BaseApp:
...
@@ -1501,10 +1501,10 @@ class BaseApp:
[
'
Command:
'
,
analysis
[
self
.
RLANKEY_COMMAND
]],
[
'
Command:
'
,
analysis
[
self
.
RLANKEY_COMMAND
]],
[
'
Result:
'
,
analysis
[
self
.
RLANKEY_RESULT
]],
[
'
Result:
'
,
analysis
[
self
.
RLANKEY_RESULT
]],
]
]
self
.
p
(
tablew
.
render
(
tbody
,
columns
=
tcols
,
enumerate
=
False
,
header
=
False
))
self
.
p
(
"
\n
"
.
join
(
tablew
.
render
(
tbody
,
columns
=
tcols
,
enumerate
=
False
,
header
=
False
))
)
#
treew = pydgets.widgets.TreeWidget()
treew
=
pydgets
.
widgets
.
TreeWidget
()
#treew.display
(analysis)
self
.
p
(
"
\n
"
.
join
(
treew
.
render
(
analysis
)
))
self
.
_sub_runlog_format_analysis
(
analysis
)
self
.
_sub_runlog_format_analysis
(
analysis
)
...
@@ -1548,7 +1548,7 @@ class BaseApp:
...
@@ -1548,7 +1548,7 @@ class BaseApp:
)
)
self
.
p
(
"
General application processing statistics:
"
)
self
.
p
(
"
General application processing statistics:
"
)
tablew
=
pydgets
.
widgets
.
TableWidget
()
tablew
=
pydgets
.
widgets
.
TableWidget
()
self
.
p
(
tablew
.
render
(
table_data
,
columns
=
table_columns
))
self
.
p
(
"
\n
"
.
join
(
tablew
.
render
(
table_data
,
columns
=
table_columns
))
)
self
.
_sub_runlogs_format_evaluation
(
evaluation
)
self
.
_sub_runlogs_format_evaluation
(
evaluation
)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment