From 1f0b83e2ddabd813f8eddaf2e00bf47c152b42b8 Mon Sep 17 00:00:00 2001
From: Eric Harney <eharney@redhat.com>
Date: Sat, 18 May 2013 12:37:38 -0400
Subject: [PATCH] Allow flake8 to run in venv

flake8 should be able to run within the venv.

Change-Id: Ife269e54947f0283adceca15af60f38688e1ee64
---
 run_tests.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/run_tests.sh b/run_tests.sh
index 265d31dd3..b420d6795 100755
--- a/run_tests.sh
+++ b/run_tests.sh
@@ -110,7 +110,7 @@ srcfiles+=" setup.py"
 
 function run_pep8 {
   echo "Running PEP8 and HACKING compliance check..."
-  flake8 cinder* bin
+  bash -c "${wrapper} flake8 cinder* bin"
 }
 
 
-- 
2.45.2