summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2017-02-12 19:22:05 +0200
committerLars Wirzenius <liw@liw.fi>2017-02-12 19:22:05 +0200
commit28a120805bb8b7531f76d9556f2d539621ee44f4 (patch)
treec178074a847f53fc442a1a3a3d1802b520ac1548
parenta616b19d0e9e914cf54c411e5026217c61ef3038 (diff)
downloadobnam-28a120805bb8b7531f76d9556f2d539621ee44f4.tar.gz
Drop more memory profile dumping
-rw-r--r--obnamlib/plugins/forget_plugin.py8
1 files changed, 0 insertions, 8 deletions
diff --git a/obnamlib/plugins/forget_plugin.py b/obnamlib/plugins/forget_plugin.py
index 42f30e97..d5c44530 100644
--- a/obnamlib/plugins/forget_plugin.py
+++ b/obnamlib/plugins/forget_plugin.py
@@ -77,27 +77,19 @@ class ForgetPlugin(obnamlib.ObnamPlugin):
self.repo.lock_everything()
- self.app.dump_memory_profile('at the very beginning')
client_name = self.app.settings['client-name']
- self.app.dump_memory_profile('client name found')
if args:
removeids = self.get_genids_to_remove_from_args(client_name, args)
- self.app.dump_memory_profile('genids to remove given explicitly')
elif self.app.settings['keep']:
genlist = self.get_all_generations(client_name)
removeids = self.choose_genids_to_remove_using_keep_policy(genlist)
- self.app.dump_memory_profile('genids to remove from keep policy')
else:
removeids = []
- self.app.dump_memory_profile('no genids to remove')
- self.app.dump_memory_profile('after choosing genids to remove')
self.app.ts['gens'] = removeids
for genid in removeids:
self.app.ts['gen'] = genid
chunk_ids = self.remove(genid)
- self.app.dump_memory_profile(
- 'after marking gen for removal (about to remove chunks)')
for unused_chunk_id in chunk_ids:
self.repo.remove_chunk_from_indexes(
unused_chunk_id, client_name)