Diagnostic print during rebuild reference map

svn: r18321
This commit is contained in:
Tim G L Lyons 2011-10-14 23:13:21 +00:00
parent 14c4b6a463
commit 73c35130ab

View File

@ -960,6 +960,7 @@ class DbBsddb(DbBsddbRead, DbWriteBase, UpdateCallback):
# to loop through each of the primary object tables. # to loop through each of the primary object tables.
for cursor_func, class_func in primary_table: for cursor_func, class_func in primary_table:
print "Rebuilding %s reference map" % class_func.__name__
with cursor_func() as cursor: with cursor_func() as cursor:
for found_handle, val in cursor: for found_handle, val in cursor:
obj = class_func() obj = class_func()