[Pywikipedia-l] SVN: [4883] trunk/pywikipedia/welcome.py

rotem at svn.wikimedia.org rotem at svn.wikimedia.org
Mon Jan 14 11:37:32 UTC 2008


Revision: 4883
Author:   rotem
Date:     2008-01-14 11:37:32 +0000 (Mon, 14 Jan 2008)

Log Message:
-----------
More fixes.

Modified Paths:
--------------
    trunk/pywikipedia/welcome.py

Modified: trunk/pywikipedia/welcome.py
===================================================================
--- trunk/pywikipedia/welcome.py	2008-01-14 11:34:31 UTC (rev 4882)
+++ trunk/pywikipedia/welcome.py	2008-01-14 11:37:32 UTC (rev 4883)
@@ -699,7 +699,7 @@
                 list_loaded = list()
             # Joining the "other things" with the loaded...
             elencovarie = elenco_others + list_loaded
-        elif filter_wp == False:
+        else:
             elencoaf = list()
             elencogz = list()
             elencovarie = list()
@@ -803,7 +803,7 @@
                                     report(wsite, rep_page, username, com, final_rep)
                                     break
                                 else:
-                                    wikipedia.output(u'The discussion page of the bad-user already exist...')
+                                    wikipedia.output(u'The discussion page of the bad-user already exists...')
                                     running = False
                         for w in say_hi:
                             if w in answer:
@@ -815,10 +815,10 @@
                             report(wsite, rep_page, username, com, final_rep)
                             break
                         else:
-                            wikipedia.output(u'The discussion page of the bad-user already exist...')
+                            wikipedia.output(u'The discussion page of the bad-user already exists...')
                             break
             # He has a good username, welcome!
-            elif baduser == False:
+            else:
                 if not usertalkpage.exists():
                     # Tring to put the welcome...
                     try:





More information about the Pywikipedia-l mailing list