summaryrefslogtreecommitdiff
path: root/scripts/release-test
diff options
context:
space:
mode:
authorPedro Alvarez <pedro.alvarez@codethink.co.uk>2016-02-12 12:33:48 (GMT)
committerPedro Alvarez <pedro.alvarez@codethink.co.uk>2016-02-12 12:34:09 (GMT)
commitec7ac481b4a78c12eb04afea53c34cddd495bebd (patch)
tree44eebf18b17fa104ad2f133f568b772da27a6894 /scripts/release-test
parent86078b1ce1859495b40a016f75ebec382318de03 (diff)
downloaddefinitions-ec7ac481b4a78c12eb04afea53c34cddd495bebd.tar.gz
Fix release scripts to not use 'sysbranchdir'
https://storyboard.baserock.org/#!/story/71 Change-Id: I4862406d19c74cdd6135b52304474562aa3ba511
Diffstat (limited to 'scripts/release-test')
-rwxr-xr-xscripts/release-test5
1 files changed, 2 insertions, 3 deletions
diff --git a/scripts/release-test b/scripts/release-test
index ad9b2e0..4dcc6f7 100755
--- a/scripts/release-test
+++ b/scripts/release-test
@@ -38,9 +38,8 @@ import morphlib
class MorphologyHelper(object):
def __init__(self):
- self.sb = sb = morphlib.sysbranchdir.open_from_within('.')
- defs_repo_path = sb.get_git_directory_name(sb.root_repository_url)
- self.defs_repo = morphlib.gitdir.GitDirectory(defs_repo_path)
+ self.defs_repo = morphlib.definitions_repo.open(
+ '.', search_for_root=True)
self.loader = morphlib.morphloader.MorphologyLoader()
self.finder = morphlib.morphologyfinder.MorphologyFinder(self.defs_repo)