summaryrefslogtreecommitdiff
path: root/obnamlib/plugins/show_plugin.py
diff options
context:
space:
mode:
authorThomas Waldmann <tw@waldmann-edv.de>2015-02-27 18:27:46 +0100
committerLars Wirzenius <liw@liw.fi>2015-03-22 14:07:22 +0200
commitbece5d28349ac226713537bef07f85af65b96a26 (patch)
treec3003da386da80106f1ac0a3ea55dde2e3eb75a0 /obnamlib/plugins/show_plugin.py
parent787478a81bbc7c1c74ed5c0f2d5ef26022ec4e42 (diff)
downloadobnam-bece5d28349ac226713537bef07f85af65b96a26.tar.gz
avoid shadowing builtins
Diffstat (limited to 'obnamlib/plugins/show_plugin.py')
-rw-r--r--obnamlib/plugins/show_plugin.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/obnamlib/plugins/show_plugin.py b/obnamlib/plugins/show_plugin.py
index 7efe124e..d9d481d7 100644
--- a/obnamlib/plugins/show_plugin.py
+++ b/obnamlib/plugins/show_plugin.py
@@ -199,9 +199,9 @@ class ShowPlugin(obnamlib.ObnamPlugin):
ended = self.format_time(ended)
hdr('Generation %s (%s - %s)\n' %
(self.repo.make_generation_spec(gen_id), started, ended))
- for file in args:
- file = self.remove_trailing_slashes(file)
- self.show_objects(cb, gen_id, file)
+ for filename in args:
+ filename = self.remove_trailing_slashes(filename)
+ self.show_objects(cb, gen_id, filename)
self.repo.close()