This patch enables the util scripts to be found in correct path when using a not-so-standard checkout path. (.../libvirt-test-API.git/...). --- utils/Python/utils.py | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/utils/Python/utils.py b/utils/Python/utils.py index 6e23138..e0e2dba 100644 --- a/utils/Python/utils.py +++ b/utils/Python/utils.py @@ -317,7 +317,7 @@ class Utils(object): def locate_utils(self): """Get the directory path of 'utils'""" pwd = os.getcwd() - result = re.search('(.*)libvirt-test-API', pwd) + result = re.search('(.*)libvirt-test-API(.*)', pwd) return result.group(0) + "/utils" def mac_to_ip(self, mac, timeout): -- 1.7.3.4 -- libvir-list mailing list libvir-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/libvir-list