diff options
Diffstat (limited to 'ontogen.py')
-rw-r--r-- | ontogen.py | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -7,7 +7,7 @@ from sys import stdout, stderr from datetime import date from textwrap import TextWrapper, dedent from os import extsep, mkdir, symlink, remove -from os.path import basename, exists, isdir, islink, splitext +from os.path import basename, dirname, exists, isdir, islink, join, splitext from subprocess import call from shlex import split #import codecs @@ -21,7 +21,7 @@ log = logging.getLogger(__name__) VERSIONSEP = '/' ONTSEP = '#' -TEMPLATE_GENSHI = 'ontogen.template' +TEMPLATE_GENSHI = join(dirname(__file__), 'ontogen.template') TEMPLATE_XSLT = 'ns-schema.xsl' TEXT_INDENT = ' ' TW = TextWrapper(initial_indent=TEXT_INDENT, subsequent_indent=TEXT_INDENT) |