~duplicity-team/duplicity/0.6-series

« back to all changes in this revision

Viewing changes to duplicity-bin

  • Committer: Kenneth Loafman
  • Date: 2011-07-26 11:48:48 UTC
  • mfrom: (761.1.2 duplicity)
  • Revision ID: kenneth@loafman.com-20110726114848-t9306ogagcshscug
MergedĀ lp:~mterry/duplicity/815635

Show diffs side-by-side

added added

removed removed

Lines of Context:
939
939
 
940
940
        fileobj = globals.backend.get_fileobj_read(fn)
941
941
        src_iter = SrcIter(fileobj)
 
942
        tdp = dup_temp.new_tempduppath(file_naming.parse(loc_name))
942
943
        if pr.manifest:
943
 
            copy_raw(src_iter,
944
 
                     globals.archive_dir.append(loc_name).name)
 
944
            copy_raw(src_iter, tdp.name)
945
945
        else:
946
 
            gpg.GzipWriteFile(src_iter,
947
 
                              globals.archive_dir.append(loc_name).name,
948
 
                              size=sys.maxint)
 
946
            gpg.GzipWriteFile(src_iter, tdp.name, size=sys.maxint)
 
947
        tdp.setdata()
 
948
        tdp.move(globals.archive_dir.append(loc_name))
949
949
 
950
950
    # get remote metafile list
951
951
    remlist = globals.backend.list()