[library-web] fixed tarball generation file path for docbook documents



commit b60ba6e3338c388686a9d478dab55b79f38491ee
Author: Frédéric Péters <fpeters 0d be>
Date:   Sat Mar 19 20:34:21 2011 +0100

    fixed tarball generation file path for docbook documents

 src/modtypes/gnomedocbook.py |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/src/modtypes/gnomedocbook.py b/src/modtypes/gnomedocbook.py
index 2cbb487..ada1a3e 100644
--- a/src/modtypes/gnomedocbook.py
+++ b/src/modtypes/gnomedocbook.py
@@ -146,8 +146,9 @@ class GnomeDocbookModule(DocModule):
         if app.config.create_tarballs:
             temporary_tarball_dir = tempfile.mkdtemp()
             tarball_name = '%s-html-%s.tar.gz' % (self.modulename, self.version)
-            tarball_filepath = os.path.join(app.config.output_dir, self.channel,
-                    self.modulename, tarball_name)
+            tarball_filepath = os.path.join(
+                            app.get_module_web_output_dir(self, versioned=False),
+                            tarball_name)
 
             if os.path.exists(tarball_filepath):
                 # doc already exists, keep it in tarballs dictionary as it may



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]