#20: Fix for traceback when remote_path option is missing.

This commit is contained in:
Dan Helfman 2016-06-13 08:53:41 -07:00
parent 938392b25b
commit b22b552bf3
3 changed files with 6 additions and 2 deletions

4
NEWS
View file

@ -1,3 +1,7 @@
1.0.2
* #20: Fix for traceback when remote_path option is missing.
1.0.1 1.0.1
* #19: Support for Borg's --remote-path option to use an alternate Borg * #19: Support for Borg's --remote-path option to use an alternate Borg

View file

@ -45,7 +45,7 @@ def main():
args = parse_arguments(*sys.argv[1:]) args = parse_arguments(*sys.argv[1:])
config = parse_configuration(args.config_filename, CONFIG_FORMAT) config = parse_configuration(args.config_filename, CONFIG_FORMAT)
repository = config.location['repository'] repository = config.location['repository']
remote_path = config.location['remote_path'] remote_path = config.location.get('remote_path')
borg.initialize(config.storage) borg.initialize(config.storage)
borg.create_archive( borg.create_archive(

View file

@ -1,7 +1,7 @@
from setuptools import setup, find_packages from setuptools import setup, find_packages
VERSION = '1.0.1' VERSION = '1.0.2'
setup( setup(