Commit c2e0b609 authored by Yoshinori Okuji's avatar Yoshinori Okuji

Upgraded from 0.8.6.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@615 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent b6a363d7
...@@ -37,7 +37,7 @@ ...@@ -37,7 +37,7 @@
# #
############################################################################## ##############################################################################
__version__ = '0.2.1' __version__ = '0.2.3'
# Save start state # Save start state
# #
...@@ -62,12 +62,7 @@ if not sys.modules.has_key('Testing'): ...@@ -62,12 +62,7 @@ if not sys.modules.has_key('Testing'):
while d: while d:
if os.path.isdir(os.path.join(p, 'Testing')): if os.path.isdir(os.path.join(p, 'Testing')):
zope_home = os.path.dirname(os.path.dirname(p)) zope_home = os.path.dirname(os.path.dirname(p))
# Do not add the parent directory into the path list. sys.path[:1] = [p0, p, zope_home]
# Why did the author put it? -yo
if 0:
sys.path[:1] = [p0, os.pardir, p, zope_home]
else:
sys.path[:1] = [p0, p, zope_home]
break break
p, d = s and ('','') or os.path.split(p) p, d = s and ('','') or os.path.split(p)
else: else:
...@@ -104,9 +99,9 @@ if 1: # Create a new scope ...@@ -104,9 +99,9 @@ if 1: # Create a new scope
print 'Unable to locate %s.' % ztc_common print 'Unable to locate %s.' % ztc_common
sys.exit(1) sys.exit(1)
# Debug # Debug
# #
print 'SOFTWARE_HOME: %s' % os.environ.get('SOFTWARE_HOME', 'Not set') print 'SOFTWARE_HOME: %s' % os.environ.get('SOFTWARE_HOME', 'Not set')
print 'INSTANCE_HOME: %s' % os.environ.get('INSTANCE_HOME', 'Not set') print 'INSTANCE_HOME: %s' % os.environ.get('INSTANCE_HOME', 'Not set')
sys.stdout.flush()
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment