Removed unnecessary call to rstrip.
authorphilipp <philipp@7aebc617-e5e2-0310-91dc-80fb5f6d2477>
Sat, 8 Mar 2014 19:42:55 +0000 (19:42 +0000)
committerphilipp <philipp@7aebc617-e5e2-0310-91dc-80fb5f6d2477>
Sat, 8 Mar 2014 19:42:55 +0000 (19:42 +0000)
git-svn-id: http://www.winterrodeln.org/svn/wrpylib/trunk@1914 7aebc617-e5e2-0310-91dc-80fb5f6d2477

wrpylib/mwmarkup.py

index aa758ceeece6d27464cfb412c90fe6029fec0905..ca9a87fa947d537778d5407e225837a850a3c660 100644 (file)
@@ -116,9 +116,7 @@ class TemplateValidator(formencode.FancyValidator):
         for k, v in named_params.iteritems():
             if self.as_table:
                 k = k.ljust(as_table_keylen)
-                parts.append((k + equal_char + v).rstrip())
-            else:
-                parts.append(k + equal_char + v)
+            parts.append(k + equal_char + v)
         return pipe_char.join(parts) + end_char