~ubuntu-branches/ubuntu/raring/duplicity/raring-updates

« back to all changes in this revision

Viewing changes to src/backends/hsibackend.py

  • Committer: Bazaar Package Importer
  • Author(s): Michael Terry
  • Date: 2011-04-03 20:40:34 UTC
  • mfrom: (1.9.1 upstream) (16.2.6 natty)
  • Revision ID: james.westby@ubuntu.com-20110403204034-5m1eri4z5qr0nyrr
Tags: 0.6.13-0ubuntu1
* Resync with Debian, no remaining changes
* New upstream release
  - silent data corruption with checkpoint/restore (LP: #613244)
  - Assertion error "time not moving forward at appropriate pace"
    (LP: #579958)
* debian/patches/04future.dpatch:
  - Dropped, applied upstream

Show diffs side-by-side

added added

removed removed

Lines of Context:
22
22
import os
23
23
 
24
24
import duplicity.backend
25
 
from duplicity.errors import *
 
25
from duplicity.errors import * #@UnusedWildImport
26
26
 
27
27
hsi_command = "hsi"
28
28
class HSIBackend(duplicity.backend.Backend):
60
60
        return filter(lambda x: x, l)
61
61
 
62
62
    def delete(self, filename_list):
63
 
        assert len(filename_ist) > 0
64
 
        pathlist = map(lambda fn: self.remote_prefix + fn, filename_list)
 
63
        assert len(filename_list) > 0
65
64
        for fn in filename_list:
66
65
            commandline = '%s "rm %s%s"' % (hsi_command, self.remote_prefix, fn)
67
66
            self.run_command(commandline)