Skip to content

Commit

Permalink
Tweaked
Browse files Browse the repository at this point in the history
  • Loading branch information
technige committed Nov 20, 2020
1 parent 7e81a87 commit a8e9e26
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion py2neo/client/http.py
Original file line number Diff line number Diff line change
Expand Up @@ -154,6 +154,7 @@ def _hello(self):
# }
self.neo4j_version = Version(metadata["neo4j_version"]) # Neo4j 3.x
self.server_agent = "Neo4j/{}".format(self.neo4j_version)

# Given the root discovery endpoint isn't authenticated, we don't
# catch incorrect passwords here, and this wouldn't then be signalled
# to the user until later on. So here, we make a second call to a
Expand All @@ -163,7 +164,6 @@ def _hello(self):
headers=dict(self.headers))
data = r.data.decode("utf-8")
rs = HTTPResponse.from_json(r.status, data or "{}")
self.release()
rs.audit()

def fast_forward(self, bookmark):
Expand Down

0 comments on commit a8e9e26

Please sign in to comment.