diff options
author | Mattia Rizzolo <mattia@mapreri.org> | 2015-04-04 23:33:06 +0200 |
---|---|---|
committer | Holger Levsen <holger@layer-acht.org> | 2015-04-05 10:47:33 +0200 |
commit | f7659527d3037f444c26895b9ec2193c2c5ff557 (patch) | |
tree | fcc1c1684fc07487d7835de988935bf5c7420857 | |
parent | 144bea77e661f9297ea846e3eb6e7e12c4db8dae (diff) | |
download | jenkins.debian.net-f7659527d3037f444c26895b9ec2193c2c5ff557.tar.xz |
reproducible: html_notes: fix indentation. I'm not even sure why python didn't complain loudly
-rwxr-xr-x | bin/reproducible_html_notes.py | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/bin/reproducible_html_notes.py b/bin/reproducible_html_notes.py index d92f9a90..4d496fb2 100755 --- a/bin/reproducible_html_notes.py +++ b/bin/reproducible_html_notes.py @@ -256,12 +256,12 @@ def gen_html_issue(issue, suite): # links to the issue in other suites suite_links = '' for i in SUITES: - if suite_links != '': - suite_links += ' / ' - if i != suite: - suite_links += '<a href="' + REPRODUCIBLE_URL + ISSUES_URI + '/' + i + '/' + issue + '_issue.html">' + i + '</a>' - else: - suite_links += '<em>' + i + '</em>' + if suite_links != '': + suite_links += ' / ' + if i != suite: + suite_links += '<a href="' + REPRODUCIBLE_URL + ISSUES_URI + '/' + i + '/' + issue + '_issue.html">' + i + '</a>' + else: + suite_links += '<em>' + i + '</em>' # check for url: if 'url' in issues[issue]: url = issue_html_url.substitute(url=issues[issue]['url']) |