From 9ec75ccf3fc282c52269457454da2be7fa81f808 Mon Sep 17 00:00:00 2001 From: Dan Helfman Date: Sat, 27 Jul 2019 14:15:24 -0700 Subject: [PATCH] Fit inadvertent conversion of ordered dict to dict. --- borgmatic/borg/prune.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/borgmatic/borg/prune.py b/borgmatic/borg/prune.py index e6f4eb0..e63e492 100644 --- a/borgmatic/borg/prune.py +++ b/borgmatic/borg/prune.py @@ -21,7 +21,7 @@ def _make_prune_flags(retention_config): ('--keep-monthly', '6'), ) ''' - config = dict(retention_config) + config = retention_config.copy() if 'prefix' not in config: config['prefix'] = '{hostname}-'