~dooferlad/juju-ci-tools/juju-ci-tools-addressable-containers

« back to all changes in this revision

Viewing changes to substrate.py

  • Committer: Martin Packman
  • Date: 2015-07-01 17:17:25 UTC
  • mto: (997.1.8 trunk)
  • mto: This revision was merged to the branch mainline in revision 1004.
  • Revision ID: martin.packman@canonical.com-20150701171725-2haym60lsgvxldxg
Remove local copy of azure tools

Show diffs side-by-side

added added

removed removed

Lines of Context:
315
315
        It writes the certificate to a temp file because the Azure client
316
316
        library requires it, then deletes the temp file when done.
317
317
        """
318
 
        from winazure import AZURE_PACKAGE
319
 
        sys.path.insert(0, AZURE_PACKAGE)
320
318
        from azure.servicemanagement import ServiceManagementService
321
319
        with temp_dir() as cert_dir:
322
320
            cert_file = os.path.join(cert_dir, 'azure.pem')