summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJan Pokorný <jpokorny@redhat.com>2013-03-28 14:30:53 +0100
committerJan Pokorný <jpokorny@redhat.com>2013-03-28 14:30:53 +0100
commit823cb61b8532eb7234cac405d7787484a9c95a76 (patch)
treec632b0fcc0438e66a6c3a3b7782d205dad9efee6
parent678baedebf2855b7b0ea721dac0064ac02217264 (diff)
downloadontogen-823cb61b8532eb7234cac405d7787484a9c95a76.tar.gz
ontogen-823cb61b8532eb7234cac405d7787484a9c95a76.tar.xz
ontogen-823cb61b8532eb7234cac405d7787484a9c95a76.zip
ontogen.py: fix a CWD dependency issue
Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
-rw-r--r--ontogen.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/ontogen.py b/ontogen.py
index 96a578b..d2edd54 100644
--- a/ontogen.py
+++ b/ontogen.py
@@ -22,7 +22,7 @@ VERSIONSEP = '/'
ONTSEP = '#'
TEMPLATE_GENSHI = join(dirname(__file__), 'ontogen.template')
-TEMPLATE_XSLT = 'ns-schema.xsl'
+TEMPLATE_XSLT = join(dirname(__file__), 'ns-schema.xsl')
TEXT_INDENT = ' '
TW = TextWrapper(initial_indent=TEXT_INDENT, subsequent_indent=TEXT_INDENT)
tw = lambda x: TW.fill(x)