~mwilck/duplicity/0.7-series

« back to all changes in this revision

Viewing changes to duplicity/backends/_boto_single.py

  • Committer: Kenneth Loafman
  • Date: 2016-08-12 20:50:29 UTC
  • mfrom: (1102.1.18 duplicity)
  • Revision ID: kenneth@loafman.com-20160812205029-3d6syue3nu521y0j
* Fixed bug #1612472 with patch from David Cuthbert
  - Restore from S3 fails with --with-prefix-archive if prefix includes '/'
* Merged in lp:~arashad.ahamad/duplicity/duplicity_latest
  - Changes for connecting to IBM Bluemix ObjectStorage.  See man page.

Show diffs side-by-side

added added

removed removed

Lines of Context:
265
265
        # Because of the need for this optimization, it should be left as is.
266
266
        # for k in self.bucket.list(prefix = self.key_prefix + 'd', delimiter = '/'):
267
267
        filename_list = []
268
 
        for k in self.bucket.list(prefix=self.key_prefix, delimiter='/'):
 
268
        for k in self.bucket.list(prefix=self.key_prefix):
269
269
            try:
270
270
                filename = k.key.replace(self.key_prefix, '', 1)
271
271
                filename_list.append(filename)