summaryrefslogtreecommitdiff
path: root/obnamlib/app.py
diff options
context:
space:
mode:
Diffstat (limited to 'obnamlib/app.py')
-rw-r--r--obnamlib/app.py3
1 files changed, 2 insertions, 1 deletions
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'],