http://www.mediawiki.org/wiki/Special:Code/pywikipedia/11439
Revision: 11439 Author: drtrigon Date: 2013-04-23 15:20:48 +0000 (Tue, 23 Apr 2013) Log Message: ----------- minor changes in logging header (from trunk)
Modified Paths: -------------- branches/rewrite/pywikibot/bot.py
Modified: branches/rewrite/pywikibot/bot.py =================================================================== --- branches/rewrite/pywikibot/bot.py 2013-04-23 15:14:51 UTC (rev 11438) +++ branches/rewrite/pywikibot/bot.py 2013-04-23 15:20:48 UTC (rev 11439) @@ -241,11 +241,11 @@ # script call output(u'COMMAND: %s' % unicode(sys.argv))
- # new framework release/revision? + # new framework release/revision? (handleArgs needs to be called first) site = pywikibot.getSite() - output(u'VERSION: %s' % unicode((version.getversion().strip(' ()'), - version.getversion_onlinerepo(), - site.live_version()))) + output(u'VERSION: %s' % unicode((version.getversion().strip(), + version.getversion_onlinerepo(), + site.live_version())))
# system if hasattr(os, 'uname'):
pywikipedia-svn@lists.wikimedia.org