~ubuntu-branches/ubuntu/natty/landscape-client/natty

« back to all changes in this revision

Viewing changes to landscape/lib/fetch.py

  • Committer: Bazaar Package Importer
  • Author(s): Andreas Hasenack
  • Date: 2011-03-01 15:38:11 UTC
  • mfrom: (1.1.22 upstream)
  • Revision ID: james.westby@ubuntu.com-20110301153811-ow0pu4j068a9ysgo
Tags: 11.02-0ubuntu0.11.04.0
* New upstream version (LP: #727324)

  - Exit gracefully instead of crashing when the filesystem is
    read-only (LP: #649997).

  - Drop hal requirement (LP: #708502).

  - Enable HTTP compression in Curl (LP: #297623).

  - Explicitly name log files that need to be rotated (LP: #634236).

  - Assorted test suite fixes

Show diffs side-by-side

added added

removed removed

Lines of Context:
84
84
    curl.setopt(pycurl.NOSIGNAL, 1)
85
85
    curl.setopt(pycurl.WRITEFUNCTION, input.write)
86
86
    curl.setopt(pycurl.DNS_CACHE_TIMEOUT, 0)
 
87
    curl.setopt(pycurl.ENCODING, "gzip,deflate")
87
88
 
88
89
    try:
89
90
        curl.perform()