From 0e5f922b58ac9bea80e707c15daa0a1a7d0f1258 Mon Sep 17 00:00:00 2001 From: Yonghee Han Date: Fri, 9 Jun 2017 17:24:22 +0900 Subject: [PATCH] Fixed the snapshot path to use the reference snapshot Change-Id: I537f7f1ff0f98f8f03517ec6cfc66d5d050fdfa1 --- common/snapshot.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/common/snapshot.py b/common/snapshot.py index dff2a8e..be7f1fe 100644 --- a/common/snapshot.py +++ b/common/snapshot.py @@ -77,9 +77,10 @@ class Prerelease(object): """Prerelease snapshot path.""" if self.buildid: """Snapshot path.""" - return os.path.join(self.snapshot.base_path, - self.snapshot.repo['SnapshotDir'], - self.buildid) + return "%s_%s" %(os.path.join(self.snapshot.base_path, + self.snapshot.repo['SnapshotDir'], + self.snapshot.repo['Release']), + self.buildid) else: """Snapshot path.""" return os.path.join(self.snapshot.base_path, -- 2.7.4