Skip to content

Commit

Permalink
Fixed spacing issue
Browse files Browse the repository at this point in the history
  • Loading branch information
tvincentNuoDB committed Jun 30, 2015
1 parent ff3face commit 81a0643
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions pynuodb/exception.py
Original file line number Diff line number Diff line change
Expand Up @@ -87,10 +87,10 @@ def db_error_handler(error_code, error_string):
error_code_string = protocol.lookup_code(error_code)
if error_code in protocol.DATA_ERRORS:
raise DataError(error_code_string + ': ' + error_string)
elif error_code in protocol.OPERATIONAL_ERRORS:
elif error_code in protocol.OPERATIONAL_ERRORS:
raise OperationalError(error_code_string + ': ' + error_string)
elif error_code in protocol.INTEGRITY_ERRORS:
raise IntegrityError(error_code_string + ': ' + error_string)
elif error_code in protocol.INTEGRITY_ERRORS:
raise IntegrityError(error_code_string + ': ' + error_string)
elif error_code in protocol.INTERNAL_ERRORS:
raise InternalError(error_code_string + ': ' + error_string)
elif error_code in protocol.PROGRAMMING_ERRORS:
Expand Down

0 comments on commit 81a0643

Please sign in to comment.