From ed0127df9134aaabe065b6346ee773acc4d2d013 Mon Sep 17 00:00:00 2001 From: Dan Helfman Date: Mon, 13 Jun 2016 08:53:41 -0700 Subject: [PATCH] #20: Fix for traceback when remote_path option is missing. --- NEWS | 4 ++++ borgmatic/command.py | 2 +- setup.py | 2 +- 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/NEWS b/NEWS index af155a906..25d95fd83 100644 --- a/NEWS +++ b/NEWS @@ -1,3 +1,7 @@ +1.0.2 + + * #20: Fix for traceback when remote_path option is missing. + 1.0.1 * #19: Support for Borg's --remote-path option to use an alternate Borg diff --git a/borgmatic/command.py b/borgmatic/command.py index bf6713deb..784b74a42 100644 --- a/borgmatic/command.py +++ b/borgmatic/command.py @@ -45,7 +45,7 @@ def main(): args = parse_arguments(*sys.argv[1:]) config = parse_configuration(args.config_filename, CONFIG_FORMAT) repository = config.location['repository'] - remote_path = config.location['remote_path'] + remote_path = config.location.get('remote_path') borg.initialize(config.storage) borg.create_archive( diff --git a/setup.py b/setup.py index 91d6f38f3..55fa95e69 100644 --- a/setup.py +++ b/setup.py @@ -1,7 +1,7 @@ from setuptools import setup, find_packages -VERSION = '1.0.1' +VERSION = '1.0.2' setup(