提交 99e02694 编写于 作者: L Lucas Meneghel Rodrigues

Merge pull request #795 from Hao-Liu/fix_typo

avocado.utils.process: Add missing parenthesis
......@@ -282,7 +282,7 @@ class SubProcess(object):
env=self.env)
except OSError, details:
if details.errno == 2:
exc = OSError("File '%s' not found" % self.cmd.split[0])
exc = OSError("File '%s' not found" % self.cmd.split()[0])
exc.errno = 2
raise exc
else:
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册