mirror of
https://github.com/planetmint/planetmint.git
synced 2025-11-24 22:45:44 +00:00
fixed copy past error
Signed-off-by: Jürgen Eckel <juergen@riddleandcode.com>
This commit is contained in:
parent
18ca4c17e3
commit
298b259eb0
@ -136,7 +136,7 @@ class LocalMongoDBConnection(DBConnection):
|
|||||||
pymongo.errors.OperationFailure) as exc:
|
pymongo.errors.OperationFailure) as exc:
|
||||||
logger.info('Exception in connect(): {}'.format(exc))
|
logger.info('Exception in connect(): {}'.format(exc))
|
||||||
raise ConnectionError(str(exc)) from exc
|
raise ConnectionError(str(exc)) from exc
|
||||||
except pymongo.queryerrors.ConfigurationError as exc:
|
except pymongo.errors.ConfigurationError as exc:
|
||||||
raise ConfigurationError from exc
|
raise ConfigurationError from exc
|
||||||
|
|
||||||
def close(self):
|
def close(self):
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user