https://bugzilla.wikimedia.org/show_bug.cgi?id=72317

John Mark Vandenberg <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]

--- Comment #1 from John Mark Vandenberg <[email protected]> ---
This is one of the problems causing an error with:

python2.7 pwb.py harvest_template.py -family:wikipedia -lang:it -page:"Stazione
di Redipuglia" -template:Navbox_ferrovia "Stazione precedente" P197 "Stazione
successiva" P197
...
File "scripts/harvest_template.py", line 98, in _template_link_target
    if not item or not linked_item.exists():
AttributeError: 'NoneType' object has no attribute 'exists'

The other is that 'if not item' should probably be 'if not linked_item'

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to