Skip to content

Commit

Permalink
Bolt Driver Exception Handling Fix:
Browse files Browse the repository at this point in the history
- Fixed ProtocolError and CypherError imports based on latest bolt driver changes
  • Loading branch information
yantisj committed Jan 20, 2017
1 parent aaf6324 commit 15bcd2f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion nglib/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,9 @@

try:
from neo4j.v1 import TRUST_ON_FIRST_USE, TRUST_SIGNED_CERTIFICATES, SSL_AVAILABLE
from neo4j.v1.exceptions import CypherError, ProtocolError
from neo4j.v1 import GraphDatabase, basic_auth
from neo4j.bolt import ProtocolError
from neo4j.v1 import CypherError
from py2neo import Node, Relationship, Graph
except ImportError:
pass
Expand Down

0 comments on commit 15bcd2f

Please sign in to comment.