more nonsense
@@ -260,13 +260,10 @@ class DedupeMatching(Matching):
tf = tempfile.NamedTemporaryFile(delete=True)
file_path = tf.name
del tf
- print('hello')
blocks = shelve.open(file_path, 'n',
protocol=pickle.HIGHEST_PROTOCOL)
- print('goodbye')
-
if not self.loaded_indices:
self.blocker.indexAll(data_d)
@@ -291,9 +288,11 @@ class DedupeMatching(Matching):
if len(block) > 1:
yield block
+ print('hello')
blocks.close()
+ print('goodbye')
os.remove(file_path)
-
+ print('foobar')
def _checkBlock(self, block):
if block:
