summaryrefslogtreecommitdiff
path: root/obnamlib/plugins/forget_plugin.py
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2017-02-12 17:16:05 +0200
committerLars Wirzenius <liw@liw.fi>2017-02-12 17:16:05 +0200
commit70deda41d302c45e394fde03d4db02f6bb877e38 (patch)
tree12794c52002e6f054313cfbe072999e9cf984caa /obnamlib/plugins/forget_plugin.py
parent621571eca0fb0f6d225e5ec921dbfbdef58947f5 (diff)
downloadobnam-70deda41d302c45e394fde03d4db02f6bb877e38.tar.gz
Update copyright years; reformat to pacify pep8, pylint
Diffstat (limited to 'obnamlib/plugins/forget_plugin.py')
-rw-r--r--obnamlib/plugins/forget_plugin.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/obnamlib/plugins/forget_plugin.py b/obnamlib/plugins/forget_plugin.py
index 66bd6dc2..42f30e97 100644
--- a/obnamlib/plugins/forget_plugin.py
+++ b/obnamlib/plugins/forget_plugin.py
@@ -1,4 +1,4 @@
-# Copyright (C) 2010-2016 Lars Wirzenius
+# Copyright (C) 2010-2017 Lars Wirzenius
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
@@ -96,7 +96,8 @@ class ForgetPlugin(obnamlib.ObnamPlugin):
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)')
+ 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)