update changelog with changes since 0.15.3

This commit is contained in:
Bastien Gérard
2018-10-27 23:01:14 +02:00
parent 26e2fc8fd4
commit 424b3ca308
2 changed files with 35 additions and 7 deletions

View File

@@ -134,7 +134,7 @@ class DeReference(object):
object_map = {}
for collection, dbrefs in self.reference_map.iteritems():
# we use getattr instead of hasattr because as hasattr swallows any exception under python2
# we use getattr instead of hasattr because hasattr swallows any exception under python2
# so it could hide nasty things without raising exceptions (cfr bug #1688))
ref_document_cls_exists = (getattr(collection, 'objects', None) is not None)