[Freeipa-devel] [PATCH] 956 user lockout status

Petr Viktorin pviktori at redhat.com
Wed Feb 29 10:20:34 UTC 2012


On 02/27/2012 06:31 PM, Martin Kosek wrote:
>
> 4) Minor change:
> -                except Exception:
> +                except:
>

Don't do that. It would for example disable Ctrl+C by trapping 
KeyboardInterrupt.

PEP8 has a paragraph on this, search for 'except Exception:'


-- 
Petr³




More information about the Freeipa-devel mailing list