提交 2b31c26f 编写于 作者: O openharmony_ci 提交者: Gitee

!52 适配获取属性命令变更

Merge pull request !52 from alex_hold/master
......@@ -174,7 +174,7 @@ class Device(IDevice):
"""
Hdc command, ddmlib function.
"""
command = "getparam %s" % prop_name
command = "param get %s" % prop_name
stdout = self.execute_shell_command(
command, timeout=5 * 1000, output_flag=False, retry=retry,
abort_on_exception=abort_on_exception).strip()
......
......@@ -1022,8 +1022,11 @@ class Scheduler(object):
@classmethod
def upload_report_end(cls):
LOG.info("Upload report end")
if Scheduler.proxy is not None:
Scheduler.proxy.report_end()
return
from agent.factory import report_end
LOG.info("upload report end")
report_end()
@classmethod
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册