doc+lang fixes (?)
authorTero Marttila <terom@fixme.fi>
Tue, 05 May 2009 22:22:00 +0300
changeset 20 3feaac71738a
parent 19 0187eddad3eb
child 21 945f5a8cfefb
doc+lang fixes (?)
index.py
--- a/index.py	Tue May 05 22:13:49 2009 +0300
+++ b/index.py	Tue May 05 22:22:00 2009 +0300
@@ -22,8 +22,8 @@
 from cStringIO import StringIO
 import random, itertools, time, os.path
 
+# monkeypatch 2.5 to add missing 2.6 features
 if not hasattr(itertools, 'izip_longest') :
-  
     def izip_longest(*args, **kwds):
         # izip_longest('ABCD', 'xy', fillvalue='-') --> Ax By C- D-
         fillvalue = kwds.get('fillvalue')
@@ -40,7 +40,9 @@
     itertools.izip_longest = izip_longest 
     
 class Defaults :
-    # settings
+    """
+        Default values for parameters
+    """
 
     text_lang = 'en'
 
@@ -582,7 +584,7 @@
         </div>
         <div id='info'>
             <h1>Aaltologotin</h1>
-            <p>Aaltologotin pulauttaa sulle uuden, sattumanvaraisesti valitun aalto-logon!</p>
+            <p>Aaltologotin pulauttaa sinulle uuden, sattumanvaraisesti valitun aalto-logon!</p>
             
             <form action="%(script_url)s" method="POST">
                 <fieldset>