diff MoinMoin/wikiutil.py @ 2760:d373e273cd7b

merged main
author Thomas Waldmann <tw AT waldmann-edv DOT de>
date Sat, 25 Aug 2007 17:27:14 +0200
parents 4c95862bf9ef 03e4091531be
children 1134a5cc12c2
line wrap: on
line diff
--- a/MoinMoin/wikiutil.py	Sat Aug 25 16:39:42 2007 +0200
+++ b/MoinMoin/wikiutil.py	Sat Aug 25 17:27:14 2007 +0200
@@ -255,8 +255,8 @@
         @return: cleaned text
     """
     # we only have input fields with max 200 chars, but spammers send us more
-    l = len(text)
-    if l == 0 or l > max_len:
+    length = len(text)
+    if length == 0 or length > max_len:
         return u''
     else:
         return text.translate(config.clean_input_translation_map)
@@ -2254,3 +2254,4 @@
         pi.append((verb.lower(), args.strip()))
 
     return pi, body
+