2
0
Эх сурвалжийг харах

Fit inadvertent conversion of ordered dict to dict.

Dan Helfman 5 жил өмнө
parent
commit
9ec75ccf3f

+ 1 - 1
borgmatic/borg/prune.py

@@ -21,7 +21,7 @@ def _make_prune_flags(retention_config):
             ('--keep-monthly', '6'),
             ('--keep-monthly', '6'),
         )
         )
     '''
     '''
-    config = dict(retention_config)
+    config = retention_config.copy()
 
 
     if 'prefix' not in config:
     if 'prefix' not in config:
         config['prefix'] = '{hostname}-'
         config['prefix'] = '{hostname}-'