Fix 2 'except' statements that will bug when moving to Python 3
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.
Showing with 24 additions and 22 deletions