better openshift error

This commit is contained in:
mdipierro
2012-10-17 17:00:50 -05:00
parent 255cb5e1de
commit 3124fd90b9
2 changed files with 6 additions and 2 deletions
+1 -1
View File
@@ -1 +1 @@
Version 2.1.1 (2012-10-17 16:01:25) dev
Version 2.1.1 (2012-10-17 17:00:46) dev
+5 -1
View File
@@ -1,5 +1,9 @@
import os
from distutils import dir_util
try:
from distutils import dir_util
except ImportError:
session.flash = T('requires distutils, but not installed')
redirect(URL('default','site'))
try:
from git import *
except ImportError: