~ubuntu-branches/ubuntu/natty/duplicity/natty-updates

« back to all changes in this revision

Viewing changes to src/gpg.py

  • Committer: Bazaar Package Importer
  • Author(s): Steinar H. Gunderson
  • Date: 2006-11-11 13:32:07 UTC
  • mfrom: (2.1.3 feisty)
  • Revision ID: james.westby@ubuntu.com-20061111133207-9gizpeda242fwmtr
Tags: 0.4.2-10.1
Switch back to python 2.4, as python-central can apparently no longer cope
with 2.3, and 2.4 seems to work ok now; patch from Joey Hess.
(Closes: #396158)

Show diffs side-by-side

added added

removed removed

Lines of Context:
201
201
                if logger_fp_list[0] is not sys.stderr: logger_fp_list[0].close()
202
202
 
203
203
        minimum_block_size = 128 * 1024 # don't bother requesting blocks smaller
204
 
        target_size = size - 21 * 1024 # fudge factor, compensate for gpg buffering
 
204
        target_size = size - 50 * 1024 # fudge factor, compensate for gpg buffering
205
205
        data_size = target_size - max_footer_size
206
206
        gpg_process, to_gpg_fp = start_gpg(filename, profile.passphrase)
207
207
        at_end_of_blockiter = 0