diff options
author | Mattia Rizzolo <mattia@mapreri.org> | 2015-01-08 17:01:14 +0100 |
---|---|---|
committer | Holger Levsen <holger@layer-acht.org> | 2015-01-08 17:11:02 +0100 |
commit | ad68a3bed482cc7b3f40c68cb74f90a64978e33b (patch) | |
tree | b8d900f37991c8aba1ba8d9944735c439bf715d5 /bin/reproducible_common.py | |
parent | 8f2d4fb6b01c935fc1b68dd56f1c3fa65d8aa84a (diff) | |
download | jenkins.debian.net-ad68a3bed482cc7b3f40c68cb74f90a64978e33b.tar.xz |
reproducible: fix TypeError with wheezy's python
Diffstat (limited to 'bin/reproducible_common.py')
-rwxr-xr-x | bin/reproducible_common.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/reproducible_common.py b/bin/reproducible_common.py index dd8b19f9..61584460 100755 --- a/bin/reproducible_common.py +++ b/bin/reproducible_common.py @@ -146,14 +146,14 @@ html_head_page = Template((tab*2).join(""" <li><a href="/userContent/index_stats.html">stats</a></li> <li><a href="/userContent/index_pkg_sets.html">package sets stats</a></li> </ul> -</header>""".splitlines(keepends=True))) +</header>""".splitlines(True))) html_foot_page = Template((tab*2).join(""" <p style="font-size:0.9em;"> A package name displayed with a bold font is an indication that this package has a note. Visited packages are linked in green, those which have not been visited are linked in blue. -</p>""".splitlines(keepends=True))) +</p>""".splitlines(True))) url2html = re.compile(r'((mailto\:|((ht|f)tps?)\://|file\:///){1}\S+)') |