[Zope-Checkins] CVS: Zope/lib/python/OFS - Application.py:1.178
Andreas Jung
Andreas Jung" <andreas@zope.com
Wed, 9 Jan 2002 14:15:23 -0500
Fixed. But I thought that CVS refuses to commit in such a case ?!
-aj
----- Original Message -----
From: "Andreas Jung" <andreas@digicool.com>
To: <zope-checkins@zope.org>
Sent: Wednesday, January 09, 2002 14:06
Subject: [Zope-Checkins] CVS: Zope/lib/python/OFS - Application.py:1.178
> Update of /cvs-repository/Zope/lib/python/OFS
> In directory cvs.zope.org:/tmp/cvs-serv30136
>
> Modified Files:
> Application.py
> Log Message:
> Collector #118: fixed wrong import path for Examples.zexp
>
>
> === Zope/lib/python/OFS/Application.py 1.177 => 1.178 ===
> # However, make sure that if the examples have been added already
> # and then deleted that we don't add them again.
> +
> +
> if not hasattr(app, 'Examples') and not \
> hasattr(app, '_Zope25_examples_have_been_added'):
> +<<<<<<< Application.py
> examples_path = os.path.join(Globals.INSTANCE_HOME, 'import',
'Examples.zexp')
> +=======
> +
> + examples_path = os.path.join(Globals.SOFTWARE_HOME, \
> + '..','..','import', 'Examples.zexp')
> +>>>>>>> 1.176.2.2
> if os.path.isfile(examples_path):
> app._importObjectFromFile(examples_path, verify=0)
> app._Zope25_examples_have_been_added=1
>
>
> _______________________________________________
> Zope-Checkins maillist - Zope-Checkins@zope.org
> http://lists.zope.org/mailman/listinfo/zope-checkins
>