diff options
author | Lars Wirzenius <liw@liw.fi> | 2017-02-12 09:11:51 +0200 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2017-02-12 09:11:51 +0200 |
commit | efe312ec55d38144486ed0c23b6aecafde3a3d36 (patch) | |
tree | 7becfdf54b9fa4e74dea7e3b864b387ff408320e | |
parent | 2e3289dcdf30b9f3876e7bac79dac20d7f2fc884 (diff) | |
download | obnam-efe312ec55d38144486ed0c23b6aecafde3a3d36.tar.gz |
Add more memory profile debugging
-rw-r--r-- | obnamlib/plugins/forget_plugin.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/obnamlib/plugins/forget_plugin.py b/obnamlib/plugins/forget_plugin.py index 88808dbf..648fa263 100644 --- a/obnamlib/plugins/forget_plugin.py +++ b/obnamlib/plugins/forget_plugin.py @@ -79,13 +79,17 @@ class ForgetPlugin(obnamlib.ObnamPlugin): self.app.dump_memory_profile('at 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 |