summaryrefslogtreecommitdiff
path: root/rdiff-backup/rdiff_backup/Security.py
diff options
context:
space:
mode:
authorbescoto <bescoto@2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109>2003-10-05 08:36:13 +0000
committerbescoto <bescoto@2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109>2003-10-05 08:36:13 +0000
commitd618654b0c001294f122462adb73de8c13419882 (patch)
tree080efe0fb0e3d8b1379cafe385f5583f37c383c2 /rdiff-backup/rdiff_backup/Security.py
parent67fda1bc789db7fac2c69be8b8cb8595ffd7535c (diff)
downloadrdiff-backup-d618654b0c001294f122462adb73de8c13419882.tar.gz
Added --list-increment-sizes code from 0.13.x
git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup/branches/r0-12@466 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109
Diffstat (limited to 'rdiff-backup/rdiff_backup/Security.py')
-rw-r--r--rdiff-backup/rdiff_backup/Security.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/rdiff-backup/rdiff_backup/Security.py b/rdiff-backup/rdiff_backup/Security.py
index 25962ed..a8746e8 100644
--- a/rdiff-backup/rdiff_backup/Security.py
+++ b/rdiff-backup/rdiff_backup/Security.py
@@ -94,8 +94,9 @@ def set_security_level(action, cmdpairs):
sec_level = "all"
rdir = getpath(cp2)
elif (action == "test-server" or action == "list-increments" or
- action == "list-at-time" or action == "list-changed-since"
- or action == "calculate-average" or action == "remove-older-than"):
+ action == "list-increment-sizes" or action == "list-at-time"
+ or action == "list-changed-since" or action == "calculate-average"
+ or action == "remove-older-than"):
sec_level = "minimal"
rdir = tempfile.gettempdir()
else: assert 0, "Unknown action %s" % action