Log message for revision 81816: Base the default location of softwarehome on Zope2, which is guaranteed not to be a namespace but always located inside the Zope2 software home. This fixes Zope2 breaking on systems which uses namespace packages for Products.*
Changed: U Zope/branches/2.10/lib/python/App/FindHomes.py -=- Modified: Zope/branches/2.10/lib/python/App/FindHomes.py =================================================================== --- Zope/branches/2.10/lib/python/App/FindHomes.py 2007-11-13 09:17:28 UTC (rev 81815) +++ Zope/branches/2.10/lib/python/App/FindHomes.py 2007-11-13 09:20:30 UTC (rev 81816) @@ -26,7 +26,8 @@ try: home = os.environ['SOFTWARE_HOME'] except KeyError: - home = os.path.abspath(package_home(Products.__dict__)) + import Zope2 + home = os.path.abspath(package_home(Zope2.__dict__)) home, e = os.path.split(home) d, e = os.path.split(home) _______________________________________________ Zope-Checkins maillist - Zope-Checkins@zope.org http://mail.zope.org/mailman/listinfo/zope-checkins