scripts/regression-hotspots.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
New commits: commit b09020ffad4ea78a7aef31b5c36aaa1b55e47410 Author: Bjoern Michaelsen <bjoern.michael...@canonical.com> Date: Thu Jun 11 18:01:58 2015 +0200 some tweaks for the regression hotspot script diff --git a/scripts/regression-hotspots.py b/scripts/regression-hotspots.py index 7431b0a..c821a2e 100755 --- a/scripts/regression-hotspots.py +++ b/scripts/regression-hotspots.py @@ -50,9 +50,9 @@ if __name__ == '__main__': for bug_id in fixed_regression_ids: sys.stderr.write('working on bug %d\n' % bug_id) # FIXME: use --numstat instead, which does not abbreviate filenames - logstat = sh.git('--no-pager', 'log', '--grep', 'fdo#%d' % bug_id, '--stat') + logstat = sh.git('--no-pager', 'log', '--grep', '[fdo|tdf]#%d' % bug_id, '--stat') for line in logstat: - match = statregex.search(line) + match = statregex.search(str(line)) if match and match.group(1): filename = match.group(1) sys.stderr.write('regression fix touched file: %s\n' % filename) _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits