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
Sebastian Steinlechner
pykat
Commits
b80fc626
Commit
b80fc626
authored
Mar 08, 2016
by
Daniel Brown
Browse files
adding __str__ for kat object which just prints kat script
parent
2d08a536
Changes
1
Hide whitespace changes
Inline
Side-by-side
pykat/finesse.py
View file @
b80fc626
...
...
@@ -931,7 +931,10 @@ class kat(object):
self
.
remove
(
o
)
del
self
.
__blocks
[
name
]
def
__str__
(
self
):
return
""
.
join
(
self
.
generateKatScript
())
def
parseCommands
(
self
,
commands
,
blocks
=
None
,
addToBlock
=
None
):
try
:
if
addToBlock
is
not
None
and
blocks
is
not
None
:
...
...
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