[Zope-Checkins] CVS: Zope/lib/python/docutils - __init__.py:1.2.10.5
Andreas Jung
andreas at andreas-jung.com
Sat Jun 19 02:33:31 EDT 2004
Update of /cvs-repository/Zope/lib/python/docutils
In directory cvs.zope.org:/tmp/cvs-serv26934/lib/python/docutils
Modified Files:
Tag: Zope-2_7-branch
__init__.py
Log Message:
adding 'docutils' directory to sys.path to allow the import of roman.py
from other docutils code.
=== Zope/lib/python/docutils/__init__.py 1.2.10.4 => 1.2.10.5 ===
--- Zope/lib/python/docutils/__init__.py:1.2.10.4 Thu May 13 12:19:49 2004
+++ Zope/lib/python/docutils/__init__.py Sat Jun 19 02:33:31 2004
@@ -161,3 +161,8 @@
a certain input context or output format.
"""
return format in self.supported
+
+import sys, os
+home = os.path.dirname(__file__)
+if not home in sys.path:
+ sys.path.append(home)
More information about the Zope-Checkins
mailing list