~james-page/charm-helpers/misc-https-fixes

« back to all changes in this revision

Viewing changes to charmhelpers/contrib/python/packages.py

  • Committer: James Page
  • Date: 2016-07-06 14:41:05 UTC
  • mto: This revision was merged to the branch mainline in revision 597.
  • Revision ID: james.page@ubuntu.com-20160706144105-jijnqczzayjdmz1q
Relicense project as Apache 2.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
3
3
 
4
4
# Copyright 2014-2015 Canonical Limited.
5
5
#
6
 
# This file is part of charm-helpers.
7
 
#
8
 
# charm-helpers is free software: you can redistribute it and/or modify
9
 
# it under the terms of the GNU Lesser General Public License version 3 as
10
 
# published by the Free Software Foundation.
11
 
#
12
 
# charm-helpers is distributed in the hope that it will be useful,
13
 
# but WITHOUT ANY WARRANTY; without even the implied warranty of
14
 
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15
 
# GNU Lesser General Public License for more details.
16
 
#
17
 
# You should have received a copy of the GNU Lesser General Public License
18
 
# along with charm-helpers.  If not, see <http://www.gnu.org/licenses/>.
 
6
# Licensed under the Apache License, Version 2.0 (the "License");
 
7
# you may not use this file except in compliance with the License.
 
8
# You may obtain a copy of the License at
 
9
#
 
10
#  http://www.apache.org/licenses/LICENSE-2.0
 
11
#
 
12
# Unless required by applicable law or agreed to in writing, software
 
13
# distributed under the License is distributed on an "AS IS" BASIS,
 
14
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 
15
# See the License for the specific language governing permissions and
 
16
# limitations under the License.
19
17
 
20
18
import os
21
19
import subprocess