~aaron-whitehouse/duplicity/PEP8_line_length

Viewing all changes in revision 1213.1.1.

  • Committer: Ghozlane TOUMI
  • Date: 2016-05-18 08:03:17 UTC
  • mto: This revision was merged to the branch mainline in revision 1214.
  • Revision ID: gtoumi@gmail.com-20160518080317-vskx23gww9v0mt3h
Adds prefix support to swift backend

Right now duplicity's swift backend only accept a container as target (swift://container)
trying to use a prefix / pseudo folder (swift://container/backup/path ) results in a JSON exception.

This patch adds the abiliy to use path in the swift backend, in order to have multiple backups to the same container neatly organized.

It borrows some code from the S3 backend, and is quite unobtrusive .

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: