From 404eb54c572b53ad1f6495ed1982a3177b8e75ab Mon Sep 17 00:00:00 2001 From: Hans Lindgren Date: Sat, 16 Feb 2013 20:49:57 +0100 Subject: [PATCH] Make pep8 tests run inside virtualenv Running pep8 results in the following error: Traceback (most recent call last): File "tools/hacking.py", line 34, in import pep8 ImportError: No module named pep8 Change-Id: I31a8bfbffa9ddee306ab414fab367c74d34fdd6b --- run_tests.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/run_tests.sh b/run_tests.sh index 5a76b514fd02..9872858b4261 100755 --- a/run_tests.sh +++ b/run_tests.sh @@ -149,7 +149,7 @@ function copy_subunit_log { function run_pep8 { echo "Running PEP8 and HACKING compliance check..." - bash tools/run_pep8.sh + bash -c "${wrapper} tools/run_pep8.sh" }