reverted part of recent test

This commit is contained in:
mdipierro
2012-07-18 21:47:01 -05:00
parent b2dd147a2d
commit f1337d563e
3 changed files with 3 additions and 6 deletions
+1 -1
View File
@@ -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
View File
@@ -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
View File
@@ -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