File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -87,10 +87,10 @@ def db_error_handler(error_code, error_string):
8787 error_code_string = protocol .lookup_code (error_code )
8888 if error_code in protocol .DATA_ERRORS :
8989 raise DataError (error_code_string + ': ' + error_string )
90- elif error_code in protocol .OPERATIONAL_ERRORS :
90+ elif error_code in protocol .OPERATIONAL_ERRORS :
9191 raise OperationalError (error_code_string + ': ' + error_string )
92- elif error_code in protocol .INTEGRITY_ERRORS :
93- raise IntegrityError (error_code_string + ': ' + error_String )
92+ elif error_code in protocol .INTEGRITY_ERRORS :
93+ raise IntegrityError (error_code_string + ': ' + error_string )
9494 elif error_code in protocol .INTERNAL_ERRORS :
9595 raise InternalError (error_code_string + ': ' + error_string )
9696 elif error_code in protocol .PROGRAMMING_ERRORS :
You can’t perform that action at this time.
0 commit comments