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
1=== modified file 'duplicity/commandline.py'
2--- duplicity/commandline.py 2017-02-11 20:46:45 +0000
3+++ duplicity/commandline.py 2017-02-20 12:17:22 +0000
4@@ -635,7 +635,7 @@
5 parser.add_option("--backend-retry-delay", type="int", metavar=_("seconds"))
6
7 # parse the options
8- (options, args) = parser.parse_args()
9+ (options, args) = parser.parse_args(arglist)
10
11 # Copy all arguments and their values to the globals module. Don't copy
12 # attributes that are 'hidden' (start with an underscore) or whose name is
13@@ -731,7 +731,7 @@
14 globals.backup_name = generate_default_backup_name(backend_url)
15
16 # set and expand archive dir
17- set_archive_dir(expand_archive_dir(globals.archive_dir,
18+ set_archive_dir(expand_archive_dir(globals.archive_dir_root,
19 globals.backup_name))
20
21 log.Info(_("Using archive dir: %s") % (util.ufn(globals.archive_dir.name),))
22
23=== modified file 'duplicity/globals.py'
24--- duplicity/globals.py 2016-12-05 01:39:43 +0000
25+++ duplicity/globals.py 2017-02-20 12:17:22 +0000
26@@ -58,7 +58,7 @@
27 # collection), and for checkpoint state between volumes.
28 # NOTE: this gets expanded in duplicity.commandline
29 os.environ["XDG_CACHE_HOME"] = os.getenv("XDG_CACHE_HOME", os.path.expanduser("~/.cache"))
30-archive_dir = os.path.expandvars("$XDG_CACHE_HOME/duplicity")
31+archive_dir_root = os.path.expandvars("$XDG_CACHE_HOME/duplicity")
32
33 # config dir for future use
34 os.environ["XDG_CONFIG_HOME"] = os.getenv("XDG_CONFIG_HOME", os.path.expanduser("~/.config"))

Subscribers

People subscribed via source and target branches