reverted part of recent test
This commit is contained in:
@@ -1 +1 @@
|
||||
Version 2.00.0 (2012-07-18 18:46:40) dev
|
||||
Version 2.00.0 (2012-07-18 21:46:56) dev
|
||||
|
||||
+1
-4
@@ -106,10 +106,7 @@ try:
|
||||
version_info.close()
|
||||
global_settings.web2py_version = parse_version(raw_version_string)
|
||||
except:
|
||||
# when VERSION file is not found,
|
||||
# when VERSION file is empty,
|
||||
# when VERSION file is incorrect:
|
||||
global_settings.web2py_version = parse_version()
|
||||
raise RuntimeError, "Cannot determine web2py version"
|
||||
|
||||
web2py_version = global_settings.web2py_version
|
||||
|
||||
|
||||
+1
-1
@@ -18,7 +18,7 @@ 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', __file__.partition("gluon")[0])
|
||||
global_settings.gluon_parent = os.environ.get('web2py_path', os.getcwd())
|
||||
|
||||
global_settings.applications_parent = global_settings.gluon_parent
|
||||
|
||||
|
||||
Reference in New Issue
Block a user