Renaming group to section for consistency.

This commit is contained in:
Dan Helfman 2017-07-22 22:17:37 -07:00
parent 1292dd2162
commit 548212274f

View file

@ -47,8 +47,8 @@ def main(): # pragma: no cover
repository = config['location']['repository']
remote_path = config['location']['remote_path']
(storage, retention, consistency) = (
config.get(group_name, {})
for group_name in ('storage', 'retention', 'consistency')
config.get(section_name, {})
for section_name in ('storage', 'retention', 'consistency')
)
borg.initialize(storage)