Merge lp:~benoit.bertholon/duplicity/duplicity into lp:~duplicity-team/duplicity/0.8-series

Proposed by Benoit Bertholon
Status: Merged
Merged at revision: 1182
Proposed branch: lp:~benoit.bertholon/duplicity/duplicity
Merge into: lp:~duplicity-team/duplicity/0.8-series
Diff against target: 34 lines (+3/-3)
2 files modified
duplicity/commandline.py (+2/-2)
duplicity/globals.py (+1/-1)
To merge this branch: bzr merge lp:~benoit.bertholon/duplicity/duplicity
Reviewer Review Type Date Requested Status
duplicity-team Pending
Review via email: mp+317761@code.launchpad.net
To post a comment you must log in.
1178. By Kenneth Loafman

* Merged in lp:~marix/duplicity/azure-storage-0.30.0-plus
  - This makes the Azure backend compatible with version 0.30.0 and up of the
    underlying azure-storage package.

1179. By Kenneth Loafman

* Merged in lp:~marix/duplicity/azure-storage-sas
  - This branch adds support for Shared Access Signature to the Azure backend
    which allows to run Duplicity with a minimal set of permissions.

1180. By Kenneth Loafman

* Fix minor pep8 issue - line too long.

1181. By Kenneth Loafman

* Merged in lp:~aaron-whitehouse/duplicity/pep8_test_fixes
  - Fix PEP-8 testing by moving to using pycodestyle library.
  - Temporarily add ignores to allow these tests to pass.
  - Fix E305 PEP8 errors: expected 2 blank lines after class or function definition, found 1.

1182. By Kenneth Loafman

* Merged in lp:~benoit.bertholon/duplicity/duplicity
  - Fixes bug #1666194 - ProcessCommandLine function called twice fail and arglist argument not used

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== modified file 'duplicity/commandline.py'
--- duplicity/commandline.py 2017-02-11 20:46:45 +0000
+++ duplicity/commandline.py 2017-02-20 12:17:22 +0000
@@ -635,7 +635,7 @@
635 parser.add_option("--backend-retry-delay", type="int", metavar=_("seconds"))635 parser.add_option("--backend-retry-delay", type="int", metavar=_("seconds"))
636636
637 # parse the options637 # parse the options
638 (options, args) = parser.parse_args()638 (options, args) = parser.parse_args(arglist)
639639
640 # Copy all arguments and their values to the globals module. Don't copy640 # Copy all arguments and their values to the globals module. Don't copy
641 # attributes that are 'hidden' (start with an underscore) or whose name is641 # attributes that are 'hidden' (start with an underscore) or whose name is
@@ -731,7 +731,7 @@
731 globals.backup_name = generate_default_backup_name(backend_url)731 globals.backup_name = generate_default_backup_name(backend_url)
732732
733 # set and expand archive dir733 # set and expand archive dir
734 set_archive_dir(expand_archive_dir(globals.archive_dir,734 set_archive_dir(expand_archive_dir(globals.archive_dir_root,
735 globals.backup_name))735 globals.backup_name))
736736
737 log.Info(_("Using archive dir: %s") % (util.ufn(globals.archive_dir.name),))737 log.Info(_("Using archive dir: %s") % (util.ufn(globals.archive_dir.name),))
738738
=== modified file 'duplicity/globals.py'
--- duplicity/globals.py 2016-12-05 01:39:43 +0000
+++ duplicity/globals.py 2017-02-20 12:17:22 +0000
@@ -58,7 +58,7 @@
58# collection), and for checkpoint state between volumes.58# collection), and for checkpoint state between volumes.
59# NOTE: this gets expanded in duplicity.commandline59# NOTE: this gets expanded in duplicity.commandline
60os.environ["XDG_CACHE_HOME"] = os.getenv("XDG_CACHE_HOME", os.path.expanduser("~/.cache"))60os.environ["XDG_CACHE_HOME"] = os.getenv("XDG_CACHE_HOME", os.path.expanduser("~/.cache"))
61archive_dir = os.path.expandvars("$XDG_CACHE_HOME/duplicity")61archive_dir_root = os.path.expandvars("$XDG_CACHE_HOME/duplicity")
6262
63# config dir for future use63# config dir for future use
64os.environ["XDG_CONFIG_HOME"] = os.getenv("XDG_CONFIG_HOME", os.path.expanduser("~/.config"))64os.environ["XDG_CONFIG_HOME"] = os.getenv("XDG_CONFIG_HOME", os.path.expanduser("~/.config"))

Subscribers

People subscribed via source and target branches