• Julien Muchembled's avatar
    Fix 2 'except' statements that will bug when moving to Python 3 · 0d36de7b
    Julien Muchembled authored
    Previous code relied on the fact that the exception target is kept past
    the end of the except clause. 2to3 is not smart enough to detect that.
    
    Without this change, a different OperationalError exception would be
    ignored because there's already a local variable of the same name.
    0d36de7b
logger.py 9.8 KB