[Libreoffice-commits] dev-tools.git: esc-reporting/esc-report.py
jan Iversen
jani at libreoffice.org
Thu May 11 14:07:19 UTC 2017
esc-reporting/esc-report.py | 8 +++++++-
1 file changed, 7 insertions(+), 1 deletion(-)
New commits:
commit ea1d9b306e4adb5b80c1224305bc213c344079b2
Author: jan Iversen <jani at libreoffice.org>
Date: Thu May 11 16:06:45 2017 +0200
esc-report, solved mail problem
diff --git a/esc-reporting/esc-report.py b/esc-reporting/esc-report.py
index 7d6d5a3..fc2c1f6 100755
--- a/esc-reporting/esc-report.py
+++ b/esc-reporting/esc-report.py
@@ -466,8 +466,14 @@ def report_bug_metrics():
fp.close()
os.system('cd /tmp/bugs; zip ' + filename + ' *')
os.system('cd ' + cfg['homedir'] + 'bug-metrics; git add *; git commit -m \'new version ' + statList['addDate'] + '\'')
+
+ fileBody='/tmp/esc_odf.txt'
+ fp = open(fileBody, 'w', encoding='utf-8')
+ print('the weekly bug-metrics.odf\nhave fun', file=fp)
+ fp.close()
+
data = 'ESC bug_metric.fods, based on stats.json from '+statList['addDate']
- return {'title': data, 'mail': 'mentoring at documentfoundation.org', 'attach': filename, 'file' : '/tmp/esc_flatODF_body'}
+ return {'title': data, 'mail': 'mentoring at documentfoundation.org', 'attach': filename, 'file' : fileBody}
More information about the Libreoffice-commits
mailing list