Skip to content

Commit ff3face

Browse files
committed
Should have been lower case 's'
1 parent 241acd7 commit ff3face

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

pynuodb/exception.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff 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:

0 commit comments

Comments
 (0)