Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
bob
gridtk
Commits
4b48dc44
Commit
4b48dc44
authored
Jul 10, 2017
by
André Anjos
💬
Browse files
Merge branch 'py3' into 'master'
Improve py3 compatibility See merge request
!7
parents
f6b57466
388d3a25
Pipeline
#11231
passed with stages
in 6 minutes and 40 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
gridtk/models.py
View file @
4b48dc44
...
...
@@ -323,7 +323,7 @@ class Job(Base):
grid_opt
=
self
.
get_arguments
()
if
grid_opt
:
# add additional information about the job at the end
command_line
=
"<"
+
","
.
join
([
"%s=%s"
%
(
key
,
value
)
for
key
,
value
in
grid_opt
.
iter
items
()])
+
">: "
+
command_line
command_line
=
"<"
+
","
.
join
([
"%s=%s"
%
(
key
,
value
)
for
key
,
value
in
grid_opt
.
items
()])
+
">: "
+
command_line
if
self
.
exec_dir
is
not
None
:
command_line
+=
"; [Executed in directory: '%s']"
%
self
.
exec_dir
...
...
gridtk/tests/__init__.py
View file @
4b48dc44
...
...
@@ -225,6 +225,7 @@ class GridTKTest(unittest.TestCase):
print
()
# test that the list command still works
jman
.
main
([
self
.
jman
,
'--database'
,
self
.
database
,
'list'
,
'--print-array-jobs'
])
jman
.
main
([
self
.
jman
,
'--database'
,
self
.
database
,
'list'
,
'--long'
,
'--print-array-jobs'
])
print
()
# test that the report command works
...
...
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