From dbd020f34f9b457f2ebad00599228993bdf63f9e Mon Sep 17 00:00:00 2001 From: tdsgit Date: Sat, 29 Apr 2017 21:55:48 +0530 Subject: [PATCH] minor --- bigchaindb/backend/rethinkdb/connection.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bigchaindb/backend/rethinkdb/connection.py b/bigchaindb/backend/rethinkdb/connection.py index 02d26f93..3ad779e2 100644 --- a/bigchaindb/backend/rethinkdb/connection.py +++ b/bigchaindb/backend/rethinkdb/connection.py @@ -51,7 +51,7 @@ class RethinkDBConnection(Connection): try: rconn = r.connect(host=self.host, port=self.port, db=self.dbname) connected = True - except (r.ReqlDriverError,r.ReqlTimeoutError) as exc: + except (r.ReqlDriverError, r.ReqlTimeoutError) as exc: if str(exc) == 'mock' or time.time()*1000 > end_time: raise ConnectionError from exc time.sleep(timeout/1000)