[Qa-jenkins-scm] [jenkins.debian.net] 04/04: reproducible: html_notes: fix indentation. I'm not even sure why python didn't complain loudly

Holger Levsen holger at moszumanska.debian.org
Sun Apr 5 08:47:47 UTC 2015


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

holger pushed a commit to branch master
in repository jenkins.debian.net.

commit f7659527d3037f444c26895b9ec2193c2c5ff557
Author: Mattia Rizzolo <mattia at mapreri.org>
Date:   Sat Apr 4 23:33:06 2015 +0200

    reproducible: html_notes: fix indentation. I'm not even sure why python didn't complain loudly
---
 bin/reproducible_html_notes.py | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/bin/reproducible_html_notes.py b/bin/reproducible_html_notes.py
index d92f9a9..4d496fb 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'])

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



More information about the Qa-jenkins-scm mailing list