1.1 --- a/index.py Tue May 05 22:13:49 2009 +0300
1.2 +++ b/index.py Tue May 05 22:22:00 2009 +0300
1.3 @@ -22,8 +22,8 @@
1.4 from cStringIO import StringIO
1.5 import random, itertools, time, os.path
1.6
1.7 +# monkeypatch 2.5 to add missing 2.6 features
1.8 if not hasattr(itertools, 'izip_longest') :
1.9 -
1.10 def izip_longest(*args, **kwds):
1.11 # izip_longest('ABCD', 'xy', fillvalue='-') --> Ax By C- D-
1.12 fillvalue = kwds.get('fillvalue')
1.13 @@ -40,7 +40,9 @@
1.14 itertools.izip_longest = izip_longest
1.15
1.16 class Defaults :
1.17 - # settings
1.18 + """
1.19 + Default values for parameters
1.20 + """
1.21
1.22 text_lang = 'en'
1.23
1.24 @@ -582,7 +584,7 @@
1.25 </div>
1.26 <div id='info'>
1.27 <h1>Aaltologotin</h1>
1.28 - <p>Aaltologotin pulauttaa sulle uuden, sattumanvaraisesti valitun aalto-logon!</p>
1.29 + <p>Aaltologotin pulauttaa sinulle uuden, sattumanvaraisesti valitun aalto-logon!</p>
1.30
1.31 <form action="%(script_url)s" method="POST">
1.32 <fieldset>