Bugs item #3611608, was opened at 2013-04-22 14:35
Message generated for change (Tracker Item Submitted) made by nettrom
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=361160…
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: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Morten Wang (nettrom)
Assigned to: Russell Blau (russblau)
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.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=361160…