[Piuparts-commits] [piuparts] 01/01: piuparts-report: fixup path to bts_stats.txt

Holger Levsen holger at moszumanska.debian.org
Sun May 18 21:48:57 UTC 2014


This is an automated email from the git hooks/post-receive script.

holger pushed a commit to branch develop
in repository piuparts.

commit 8bb39a52e74f223725b8b71a13652e99b4f4a6c8
Author: Holger Levsen <holger at layer-acht.org>
Date:   Sun May 18 23:48:30 2014 +0200

    piuparts-report: fixup path to bts_stats.txt
---
 piuparts-report.py | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/piuparts-report.py b/piuparts-report.py
index e3d6852..3f79fd9 100644
--- a/piuparts-report.py
+++ b/piuparts-report.py
@@ -1629,8 +1629,8 @@ def dwke_process_section(section, sectiondir, htmldir, problem_list, pkgsdb):
 # END detect_well_known_errors
 
 
-def make_bts_stats_graph(out_dir):
-    countsfile = os.path.join(out_dir, "bts_stats.txt")
+def make_bts_stats_graph(master_dir, out_dir):
+    countsfile = os.path.join(master_dir, "bts_stats.txt")
     pngfile = os.path.join(out_dir, "bts_stat.png")
     grdevices = importr('grDevices')
     grdevices.png(file=pngfile, width=1600, height=900, pointsize=10, res=100)
@@ -1695,7 +1695,7 @@ def main():
                     })
         # create graph about bugs filed
         try:
-            make_bts_stats_graph(output_directory);
+            make_bts_stats_graph(master_directory, output_directory);
         except:
             logging.debug("Error generating the graph images, probably python-rpy2 is not installed, disabling graphs.")
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/piuparts/piuparts.git



More information about the Piuparts-commits mailing list