kmonsoor / pyglet

Automatically exported from code.google.com/p/pyglet
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

UnboundLocalError hiding ResourceNotFoundException #709

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
At revision c43bc57c954f if a resource file is not found pyglet raises a 
UnboundLocalError when it tries to close a undefined file.

I provided a simple fix for the bug. 

http://code.google.com/r/marceloslacerda-pyglet/source/detail?r=07a23b2dadeb93a7
72c285e23def287714fafa80

Original issue reported on code.google.com by marcelos...@gmail.com on 1 Mar 2014 at 8:48

GoogleCodeExporter commented 9 years ago
Good one! Thanks for the patch.

Original comment by useboxnet on 2 Mar 2014 at 8:43

GoogleCodeExporter commented 9 years ago
This issue was closed by revision f16fbee1e7ce.

Original comment by useboxnet on 2 Mar 2014 at 8:50