http://www.mediawiki.org/wiki/Special:Code/pywikipedia/11447
Revision: 11447 Author: drtrigon Date: 2013-04-24 17:00:58 +0000 (Wed, 24 Apr 2013) Log Message: ----------- improvement; version handling and verbose output from rewrite
Modified Paths: -------------- trunk/pywikipedia/pywikibot/version.py
Modified: trunk/pywikipedia/pywikibot/version.py =================================================================== --- trunk/pywikipedia/pywikibot/version.py 2013-04-24 16:55:33 UTC (rev 11446) +++ trunk/pywikipedia/pywikibot/version.py 2013-04-24 17:00:58 UTC (rev 11447) @@ -54,9 +54,8 @@ version = wikipedia.__version__
id, file, rev, date, ts, author, dollar = version.split(' ') - tag = '' + tag = 'wikipedia.py' date = time.strptime('%sT%s' % (date, ts), '%Y-%m-%dT%H:%M:%SZ') - rev += ' (wikipedia.py)' except: # nothing worked; version unknown (but suppress exceptions) # the value is most likely '$Id' + '$', it means that # wikipedia.py got imported without using svn at all
pywikipedia-svn@lists.wikimedia.org