http://www.mediawiki.org/wiki/Special:Code/pywikipedia/11754
Revision: 11754 Author: drtrigon Date: 2013-07-14 09:20:56 +0000 (Sun, 14 Jul 2013) Log Message: ----------- bug fix; SyntaxError: invalid syntax
Modified Paths: -------------- trunk/pywikipedia/subster.py
Modified: trunk/pywikipedia/subster.py =================================================================== --- trunk/pywikipedia/subster.py 2013-07-13 23:46:22 UTC (rev 11753) +++ trunk/pywikipedia/subster.py 2013-07-14 09:20:56 UTC (rev 11754) @@ -601,10 +601,10 @@ #"property": "p578", # Sandbox-TimeValue u'value': {u'after': 0, u'precision': 11, - u'time': u'+0000000%sZ' % pywikibot.Timestamp.now().isoformat().split('.')[0], + u'time': (u'+0000000%sZ' % pywikibot.Timestamp.now().isoformat().split('.')[0]), u'timezone': 0, u'calendarmodel': u'http://www.wikidata.org/entity/Q1985727', - u'before': 0}}},]}, + u'before': 0}},]}, comment=summary) #print data['timestampFIDE'], pywikibot.Timestamp.now().isoformat()
pywikipedia-svn@lists.wikimedia.org