commit merge
This commit is contained in:
+9
-6
@@ -18,7 +18,8 @@ if not hasattr(os, 'mkdir'):
|
||||
if global_settings.db_sessions is not True:
|
||||
global_settings.db_sessions = set()
|
||||
|
||||
global_settings.gluon_parent = os.environ.get('web2py_path', os.getcwd())
|
||||
global_settings.gluon_parent = \
|
||||
os.environ.get('web2py_path', os.getcwd())
|
||||
|
||||
global_settings.applications_parent = global_settings.gluon_parent
|
||||
|
||||
@@ -26,12 +27,14 @@ global_settings.app_folders = set()
|
||||
|
||||
global_settings.debugging = False
|
||||
|
||||
global_settings.is_pypy = hasattr(platform,'python_implementation') and \
|
||||
platform.python_implementation() == 'PyPy'
|
||||
global_settings.is_pypy = \
|
||||
hasattr(platform,'python_implementation') and \
|
||||
platform.python_implementation() == 'PyPy'
|
||||
|
||||
global_settings.is_jython = 'java' in sys.platform.lower() or \
|
||||
hasattr(sys, 'JYTHON_JAR') or \
|
||||
str(sys.copyright).find('Jython') > 0
|
||||
global_settings.is_jython = \
|
||||
'java' in sys.platform.lower() or \
|
||||
hasattr(sys, 'JYTHON_JAR') or \
|
||||
str(sys.copyright).find('Jython') > 0
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user