Skip to content

Commit 81a0643

Browse files
committed
Fixed spacing issue
1 parent ff3face commit 81a0643

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

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)