fixed pep8 failes in wsgi.py

This commit is contained in:
Vladimir Kozhukalov 2012-06-05 17:36:25 +04:00
parent 6ea8cec81e
commit b6ec305c67
1 changed files with 7 additions and 7 deletions

View File

@ -20,16 +20,16 @@ import sys
import site
if nailgun.venv.VENV:
if nailgun.venv.VENV:
prev_sys_path = list(sys.path)
site.addsitedir(nailgun.venv.VENV)
new_sys_path = []
for item in list(sys.path):
if item not in prev_sys_path:
new_sys_path.append(item)
sys.path.remove(item)
sys.path[:0] = new_sys_path
new_sys_path = []
for item in list(sys.path):
if item not in prev_sys_path:
new_sys_path.append(item)
sys.path.remove(item)
sys.path[:0] = new_sys_path
import os