[Pywikipedia-l] SVN: [4751] trunk/pywikipedia/catlib.py

rotem at svn.wikimedia.org rotem at svn.wikimedia.org
Sat Dec 22 13:35:47 UTC 2007


Revision: 4751
Author:   rotem
Date:     2007-12-22 13:35:46 +0000 (Sat, 22 Dec 2007)

Log Message:
-----------
No longer needed.

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

Modified: trunk/pywikipedia/catlib.py
===================================================================
--- trunk/pywikipedia/catlib.py	2007-12-22 13:31:02 UTC (rev 4750)
+++ trunk/pywikipedia/catlib.py	2007-12-22 13:35:46 UTC (rev 4751)
@@ -334,8 +334,7 @@
     def isEmpty(self):
         # TODO: rename; naming conflict with Page.isEmpty
         for tag, title in self._getContents(purge = True):
-            if tag in (ARTICLE, SUBCATEGORY):
-                return False
+            return False
         return True
 
     def copyTo(self, catname):





More information about the Pywikipedia-l mailing list