What are you saying about the version of python is not correct because this is trunk branch not rewrite branch and in this branch we don't have setSource as a method of claim class, It's just a function in this code


[bugs:#1634] harvest template syntax error

Status: open-accepted
Created: Fri May 24, 2013 10:33 PM UTC by masti
Last Updated: Tue Jun 25, 2013 12:35 PM UTC
Owner: nobody

$python harvest_template.py -cat:"Miasta Polski"
File "harvest_template.py", line 116
item.editclaim(str(claim), linkedItem.getID() ,refs={self.setSource(self.site().language())})
^
SyntaxError: invalid syntax

$ python version.py
unicode test: triggers problem #3081100
Pywikipedia [http] trunk/pywikipedia (r11578, 2013/05/24, 17:03:42, ok)
Python 2.6.6 (r266:84292, Oct 12 2012, 14:23:48)
[GCC 4.4.6 20120305 (Red Hat 4.4.6-4)]
config-settings:
use_api = True
use_api_login = True
unicode test: triggers problem #3081100


Sent from sourceforge.net because Pywikipedia-bugs@lists.wikimedia.org is subscribed to https://sourceforge.net/p/pywikipediabot/bugs/

To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/pywikipediabot/admin/bugs/options. Or, if this is a mailing list, you can unsubscribe from the mailing list.