From 48619154b4dcb83631715717b9baed2ae695aafc Mon Sep 17 00:00:00 2001 From: Diego Roversi Date: Tue, 10 Sep 2019 16:30:19 +0200 Subject: manual fix in python code inside template --- http2/data/new.html | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/http2/data/new.html b/http2/data/new.html index 1709c8d..21ce445 100644 --- a/http2/data/new.html +++ b/http2/data/new.html @@ -94,10 +94,10 @@ def nameval(name, value, default=0, options=options): @@ -128,13 +128,13 @@ and go on ... steps = [ (1, 'none'), (2, 'by steps of 2 (skip every other level)')] -for i in range(3, 10) + range(10, 30, 5): +for i in list(range(3, 10))+list(range(10, 30, 5)): steps.append((i, 'by steps of %d levels' % i)) for i, text in steps: - print '' % i, text + print( 'selected', end='' ) + print( 'value="%d">' % i, text ) )s @@ -211,7 +211,8 @@ for i, text in steps: %( -if running: print ''' +if running: + print( '''   @@ -219,7 +220,7 @@ if running: print '''   -''')s +'''))s   -- cgit v1.2.3