[Pywikipedia-l] SVN: [5477] trunk/pywikipedia/wikipedia.py

nicdumz at svn.wikimedia.org nicdumz at svn.wikimedia.org
Fri May 30 14:44:23 UTC 2008


Revision: 5477
Author:   nicdumz
Date:     2008-05-30 14:44:23 +0000 (Fri, 30 May 2008)

Log Message:
-----------
Removing unnecessary functools import (I first wanted to use python 2.5 functools.partial)

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

Modified: trunk/pywikipedia/wikipedia.py
===================================================================
--- trunk/pywikipedia/wikipedia.py	2008-05-30 13:43:11 UTC (rev 5476)
+++ trunk/pywikipedia/wikipedia.py	2008-05-30 14:44:23 UTC (rev 5477)
@@ -4482,7 +4482,6 @@
                 elementtree = False
 
             if config.use_diskcache:
-                import functools
                 _dict = lambda x : diskcache.CachedReadOnlyDictI(x, prefix = "msg-%s-%s-" % (self.family.name, self.lang))
             else:
                 _dict = dict





More information about the Pywikipedia-l mailing list