Complementary commit for Python 3 support

This commit is contained in:
Claude Paroz 2016-01-15 10:30:02 +01:00
parent e7ce5ccc5c
commit 75b0907dc7
2 changed files with 2 additions and 2 deletions

View file

@ -20,7 +20,7 @@ def upgrade_in_progress(environ, start_response):
else:
status = '403 Forbidden'
start_response(status, response_headers)
return [response]
return [response.encode('utf-8')]
if UPGRADING:
application = upgrade_in_progress

2
scripts/fabfile.py vendored
View file

@ -7,7 +7,7 @@ from fabric.utils import abort
env.hosts = ['stages.pierre-coullery.ch']
APP_DIR = '/var/www/epcstages'
VIRTUALENV_DIR = '/var/venvs/stages/bin/activate'
VIRTUALENV_DIR = '/var/venvs/stages3/bin/activate'
def clone_remote_db(dbtype='sqlite'):