~allenap/maas/rpc-write-dns-config

« back to all changes in this revision

Viewing changes to src/provisioningserver/boot/utils.py

  • Committer: Gavin Panella
  • Date: 2014-12-05 12:48:56 UTC
  • mfrom: (3415.1.1 celery-in-dns-removal)
  • Revision ID: gavin.panella@canonical.com-20141205124856-9fxsma5y002newcu
Merged celery-in-dns-removal into rpc-write-dns-config.

Show diffs side-by-side

added added

removed removed

Lines of Context:
44
44
    """Downloads the file from the URL.
45
45
 
46
46
    :param url: URL to download file
47
 
    :returns: File data, or None
 
47
    :return: File data, or None
48
48
    """
49
49
    # Build a new opener so that the environment is checked for proxy
50
50
    # URLs. Using urllib2.urlopen() means that we'd only be using the