Commit 056f1e38 authored by Jim Fulton's avatar Jim Fulton

*** empty log message ***

parent 101e6264
"""Global definitions""" """Global definitions"""
__version__='$Revision: 1.26 $'[11:-2] __version__='$Revision: 1.27 $'[11:-2]
import sys, os import sys, os
from DateTime import DateTime from DateTime import DateTime
...@@ -19,7 +19,7 @@ try: home=os.environ['SOFTWARE_HOME'] ...@@ -19,7 +19,7 @@ try: home=os.environ['SOFTWARE_HOME']
except: except:
import Products import Products
home=package_home(Products.__dict__) home=package_home(Products.__dict__)
d,e=os.path.split(chome) d,e=os.path.split(home)
if d: home=d if d: home=d
SOFTWARE_HOME=sys.modules['__builtin__'].SOFTWARE_HOME=home SOFTWARE_HOME=sys.modules['__builtin__'].SOFTWARE_HOME=home
......
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