http://www.mediawiki.org/wiki/Special:Code/pywikipedia/10445
Revision: 10445 Author: xqt Date: 2012-07-08 10:08:16 +0000 (Sun, 08 Jul 2012) Log Message: ----------- self._registrationTime already exists. bugfix for r7342
Modified Paths: -------------- trunk/pywikipedia/userlib.py
Modified: trunk/pywikipedia/userlib.py =================================================================== --- trunk/pywikipedia/userlib.py 2012-07-08 09:28:14 UTC (rev 10444) +++ trunk/pywikipedia/userlib.py 2012-07-08 10:08:16 UTC (rev 10445) @@ -118,7 +118,7 @@ return
def registrationTime(self, force=False): - if not hasattr(self, '_registrationTime') or force: + if self._registrationTime < 0 or force: self._load() return self._registrationTime
pywikipedia-svn@lists.wikimedia.org