http://www.mediawiki.org/wiki/Special:Code/pywikipedia/11675
Revision: 11675 Author: legoktm Date: 2013-06-19 21:13:37 +0000 (Wed, 19 Jun 2013) Log Message: ----------- Fix for string properties, reported by Sbisolo.
Modified Paths: -------------- branches/rewrite/scripts/claimit.py
Modified: branches/rewrite/scripts/claimit.py =================================================================== --- branches/rewrite/scripts/claimit.py 2013-06-19 15:35:02 UTC (rev 11674) +++ branches/rewrite/scripts/claimit.py 2013-06-19 21:13:37 UTC (rev 11675) @@ -65,7 +65,7 @@ pywikibot.output(u'A claim for %s already exists. Skipping' % (claim.getID(),)) #TODO FIXME: This is a very crude way of dupe checking else: - pywikibot.output('Adding %s --> %s' % (claim.getID(), claim.getTarget().getID())) + pywikibot.output('Adding %s --> %s' % (claim.getID(), claim.getTarget())) item.addClaim(claim) if self.source: claim.addSource(self.source, bot=True)
pywikipedia-svn@lists.wikimedia.org