Bugs item #3611608, was opened at 2013-04-22 14:35
Message generated for change (Comment added) made by xqt
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=3611608&group_id=93107

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: rewrite
Group: rewrite
>Status: Closed
>Resolution: Fixed
Priority: 5
Private: No
Submitted By: Morten Wang (nettrom)
>Assigned to: xqt (xqt)
Summary: close on throttle file throws error

Initial Comment:
Line 125 in pywikibot/throttle.py closes a file handle that's opened inside a 
try/except-block, with the exception handling just being a pass call.  If 
opening the file fails, e.g. due to not having write permissions, the close() 
call errors since it references a variable that isn't set.

----------------------------------------------------------------------

>Comment By: xqt (xqt)
Date: 2013-04-28 05:07

Message:
done in r11476

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=3611608&group_id=93107

_______________________________________________
Pywikipedia-bugs mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/pywikipedia-bugs

Reply via email to