Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
etf
jess
Commits
a8b4603e
Commit
a8b4603e
authored
Jul 20, 2022
by
Marian Babik
Browse files
added support for multiple jdl ads
parent
687f43a0
Changes
1
Hide whitespace changes
Inline
Side-by-side
jess/api.py
View file @
a8b4603e
...
...
@@ -97,9 +97,9 @@ class JDL(collections.OrderedDict):
else
:
out
.
write
(
'{} = {}
\n
'
.
format
(
k
,
', '
.
join
(
v
)))
if
jdl_ads
:
out
.
write
(
'
\n
'
.
join
(
jdl_ads
.
split
(
'_NL_'
)
))
out
.
write
(
'
\n
'
.
join
(
jdl_ads
))
out
.
write
(
'
\n
'
)
out
.
write
(
'queue
\n
'
)
out
.
write
(
'queue
\n
'
)
return
else
:
raise
jess
.
JessException
(
"Serialization to unsupported backend {}"
.
format
(
backend
))
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment