changeset 2386:aad0a118e609

Automatic whitespace fixes (?).
author Karol 'grzywacz' Nowak <grzywacz@sul.uni.lodz.pl>
date Sat, 14 Jul 2007 18:42:36 +0200
parents 53fbdf5899ff
children 06fabac5a1c7 ca82098b3e5f
files MoinMoin/parser/_tests/test_text_moin_wiki.py MoinMoin/userprefs/prefs.py MoinMoin/xmlrpc/__init__.py
diffstat 3 files changed, 2 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/MoinMoin/parser/_tests/test_text_moin_wiki.py	Sat Jul 14 18:42:12 2007 +0200
+++ b/MoinMoin/parser/_tests/test_text_moin_wiki.py	Sat Jul 14 18:42:36 2007 +0200
@@ -200,7 +200,7 @@
 
     If this fails, it is likely a problem in your python / libc,
     not in moin.  See also: <http://sourceforge.net/tracker/index.php?func=detail&aid=902172&group_id=5470&atid=105470>
-    
+
     It can also be related to TZ changes a country historically made.
     """
 
--- a/MoinMoin/userprefs/prefs.py	Sat Jul 14 18:42:12 2007 +0200
+++ b/MoinMoin/userprefs/prefs.py	Sat Jul 14 18:42:36 2007 +0200
@@ -125,7 +125,7 @@
 
         if not 'jid' in theuser.auth_attribs:
             # try to get the jid
-            jid = wikiutil.clean_input(form.get('jid', "")).strip()
+            jid = wikiutil.clean_input(form.get('jid', "")[0]).strip()
 
             jid_changed = theuser.jid != jid
             previous_jid = theuser.jid
--- a/MoinMoin/xmlrpc/__init__.py	Sat Jul 14 18:42:12 2007 +0200
+++ b/MoinMoin/xmlrpc/__init__.py	Sat Jul 14 18:42:36 2007 +0200
@@ -637,9 +637,7 @@
         and Jabber bot.
 
         @param jid: a bare Jabber ID
-
         """
-
         if self.cfg.secret != secret:
             return ""