提交 ab33e27f authored 作者: Frederic's avatar Frederic

syntax fix for python25

上级 4250ad28
...@@ -134,7 +134,7 @@ def run_tests(venv): ...@@ -134,7 +134,7 @@ def run_tests(venv):
try: try:
return True, check_output([iptest], stderr=STDOUT).decode('utf-8') return True, check_output([iptest], stderr=STDOUT).decode('utf-8')
except CalledProcessError as e: except CalledProcessError, e:
return False, e.output.decode('utf-8') return False, e.output.decode('utf-8')
finally: finally:
# Restore $PATH # Restore $PATH
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论