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
OSUG
RESIF
resif_amqp_worker
Commits
4995128b
Commit
4995128b
authored
Jul 22, 2021
by
Jonathan Schaeffer
Browse files
Decode process output
parent
8d23072a
Changes
1
Hide whitespace changes
Inline
Side-by-side
amqpWorker.py
View file @
4995128b
...
...
@@ -159,9 +159,9 @@ def wfcatalog(content):
],
stdout
=
subprocess
.
PIPE
)
(
out
,
err
)
=
sp
.
communicate
()
if
out
:
logger
.
info
(
"WFCatalog standard output:
\n
%s"
,
out
)
logger
.
info
(
"WFCatalog standard output:
\n
%s"
,
out
.
decode
(
'utf-8'
)
)
if
err
:
logger
.
info
(
"WFCatalog standard error:
\n
%s"
,
err
)
logger
.
info
(
"WFCatalog standard error:
\n
%s"
,
err
.
decode
(
'utf-8'
)
)
if
__name__
==
"__main__"
:
...
...
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