GoogleCodeArchives / hotot

Automatically exported from code.google.com/p/hotot
0 stars 0 forks source link

Patch for /hotot/view.py #262

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
1. 'except: pass' is quite harmfull way of handling potential errors, because 
there's no sign that anything wrong happened somewhere here. At least log 
message would be much better.

1. exceptions should be specific, even if anything other can't go wrong. 

Original issue reported on code.google.com by Brabadu on 19 Jan 2011 at 7:21

Attachments:

GoogleCodeExporter commented 9 years ago
thx,

removed MainView.ctx()

Original comment by jhuangjiahua@gmail.com on 20 Jan 2011 at 3:54