Bugs item #3582353, was opened at 2012-10-31 15:25
Message generated for change (Comment added) made by xqt
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=358235…
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
Status: Closed
Resolution: Fixed
Priority: 5
Private: No
Submitted By: GanZ (ganz-ru)
Assigned to: xqt (xqt)
Summary: Bug in Rev 10629
Initial Comment:
Line 1666 of interwiki.py should be "page.namespace() == 10" instead
"page.site.namespace() == 10".
There is an error as result:
Traceback (most recent call last):
File "U:\pywikipedia 2\interwiki.py", line 2583, in <module>
main()
File "U:\pywikipedia 2\interwiki.py", line 2557, in main
bot.run()
File "U:\pywikipedia 2\interwiki.py", line 2290, in run
self.queryStep()
File "U:\pywikipedia 2\interwiki.py", line 2268, in queryStep
subj.finish(self)
File "U:\pywikipedia 2\interwiki.py", line 1666, in finish
page.site.namespace() == 10 and
TypeError: namespace() takes at least 2 arguments (1 given)
----------------------------------------------------------------------
Comment By: xqt (xqt)
Date: 2012-10-31 22:11
Message:
fixed in r10635/36
Sorry
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=358235…