提交 83cd6aaf 编写于 作者: L Lucas Meneghel Rodrigues

rv_connect/rc_logging: Fixing errors found by pylint

Signed-off-by: NLucas Meneghel Rodrigues <lmr@redhat.com>
上级 201f9bc4
......@@ -155,15 +155,15 @@ def launch_rv(client_vm, guest_vm, params):
except ShellStatusError, ShellProcessTerminatedError:
# Sometimes It fails with Status error, ingore it and continue.
# It's not that important to have printed versions in the log.
logging.debug("Ignoring a Status Exception that occurs from calling " \
+ "print versions of remote-viewer or spice-gtk")
logging.debug("Ignoring a Status Exception that occurs from calling "
"print versions of remote-viewer or spice-gtk")
logging.info("Launching %s on the client (virtual)", cmd)
try:
client_session.cmd(cmd)
except ShellStatusError:
logging.debug("Ignoring a status exception, will check connection of",
"remote-viewer later")
logging.debug("Ignoring a status exception, will check connection of"
"remote-viewer later")
# client waits for user entry (authentication) if spice_password is set
if ticket:
......
......@@ -101,7 +101,7 @@ def run_rv_logging(test, params, env):
logging.debug("------------ End of script output of the Copying"
" Session ------------")
output = guest_session.cmd("tail -n 3 " + spicevdagent_logfile +
output = guest_session.cmd("tail -n 3 " + spicevdagent_logfile +
" | grep 'clipboard grab'")
else:
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册