Ticket #4113 (closed defect: fixed)

Opened 3 months ago

Last modified 3 months ago

Generic try: except are bad

Reported by: misc Owned by:
Priority: lowest Milestone: 0.12
Component: None Version: svn
Severity: trivial Keywords:
Cc: OS: All

Description

I think using generic try/execpt is not a good practice in python, as this can mask syntax problem and other unattended errors. So I propose this patch on gajim.py

Attachments

gajim.fix4113.diff (300 bytes) - added by misc 3 months ago.

Change History

Changed 3 months ago by misc

Changed 3 months ago by js

  • status changed from new to closed
  • resolution set to fixed
  • milestone set to 0.12

(In [9965]) Fix #4113.

Changed 3 months ago by js

In this case, a generic except can't do any bad, but we could change that. Won't make a difference, though (what other errors should happen there?)

Add/Change #4113 (Generic try: except are bad)

Author



Change Properties
<Author field>
Action
as closed
Next status will be 'reopened'
 
Note: See TracTickets for help on using tickets.