changes in tests
This commit is contained in:
parent
49db679a7a
commit
523d1c43a3
2
.coverage
Normal file
2
.coverage
Normal file
@ -0,0 +1,2 @@
|
||||
€}q(U collectorqU
coverage v3.7qUlinesq}qU:/home/yolanda/development/precise/heat/hooks/heat_utils.pyq]q(KK
|
||||
esu.
|
0
hooks/__init__.py
Normal file
0
hooks/__init__.py
Normal file
@ -210,7 +210,6 @@ def import_key(keyid):
|
||||
|
||||
|
||||
def configure_installation_source(rel):
|
||||
juju_log("in configure %s" % rel)
|
||||
'''Configure apt installation source.'''
|
||||
if rel == 'distro':
|
||||
return
|
||||
@ -220,7 +219,6 @@ def configure_installation_source(rel):
|
||||
f.write(DISTRO_PROPOSED % ubuntu_rel)
|
||||
elif rel[:4] == "ppa:":
|
||||
src = rel
|
||||
juju_log("add apt %s" % src)
|
||||
subprocess.check_call(["add-apt-repository", "-y", src])
|
||||
elif rel[:3] == "deb":
|
||||
l = len(rel.split('|'))
|
||||
|
@ -1,3 +1,2 @@
|
||||
import sys
|
||||
|
||||
sys.path.append('hooks/')
|
||||
|
Loading…
Reference in New Issue
Block a user