提交 44d9d1b0 编写于 作者: L Lukáš Doktor

Use the proper exception in cgroup test

The process library uses it's own "process.CmdError" exception.
Signed-off-by: NLukáš Doktor <ldoktor@redhat.com>
上级 5a946747
......@@ -1665,7 +1665,7 @@ def run(test, params, env):
try:
out = process.system_output("cat /proc/%s/task/*/stat" %
pid)
except exceptions.CmdError:
except process.CmdError:
out = None
else:
break
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册