From: Zack Cerza Date: Fri, 27 Feb 2015 20:40:07 +0000 (-0700) Subject: Use provision.downburst_executable() X-Git-Tag: 1.1.0~974^2~2 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=90b527aa07615d22415bcecae7a55dfad91fd5b2;p=teuthology.git Use provision.downburst_executable() Signed-off-by: Zack Cerza --- diff --git a/teuthology/lock.py b/teuthology/lock.py index 49ed4863f0..4aa220020a 100644 --- a/teuthology/lock.py +++ b/teuthology/lock.py @@ -8,7 +8,6 @@ import collections import os import requests import urllib -from distutils.spawn import find_executable import teuthology from . import misc @@ -47,7 +46,7 @@ def get_distro_from_downburst(): u'14.04(trusty)', u'utopic(utopic)'], u'sles': [u'11-sp2'], u'debian': [u'6.0', u'7.0']} - executable_cmd = find_executable('downburst') + executable_cmd = provision.downburst_executable() if not executable_cmd: log.warn("Downburst not found!") log.info('Using default values for supported os_type/os_version')