Explorar o código

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

Dan Helfman %!s(int64=9) %!d(string=hai) anos
pai
achega
ed0127df91
Modificáronse 3 ficheiros con 6 adicións e 2 borrados
  1. 4 0
      NEWS
  2. 1 1
      borgmatic/command.py
  3. 1 1
      setup.py

+ 4 - 0
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

+ 1 - 1
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(

+ 1 - 1
setup.py

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