Browse Source

Fit inadvertent conversion of ordered dict to dict.

Dan Helfman 5 years ago
parent
commit
9ec75ccf3f
1 changed files with 1 additions and 1 deletions
  1. 1 1
      borgmatic/borg/prune.py

+ 1 - 1
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}-'