From af092738c9ad7f787872f31a50ba99caaf0787ca Mon Sep 17 00:00:00 2001 From: Lars Wirzenius Date: Thu, 17 Mar 2016 19:14:28 +0200 Subject: Remove md5 from --checksum-algorithm choices --- obnamlib/app.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/obnamlib/app.py b/obnamlib/app.py index d27aec67..b8493775 100644 --- a/obnamlib/app.py +++ b/obnamlib/app.py @@ -93,7 +93,8 @@ class App(cliapp.Application): metavar='FORMAT') algos = list(obnamlib.checksum_algorithms) - algos.remove('sha512') + algos.remove('sha512') # We move this first in the list, default. + algos.remove('md5') # We're NOT letting the user choose MD5. algos = ['sha512'] + algos self.settings.choice( ['checksum-algorithm'], -- cgit v1.2.1