Fixed the snapshot path to use the reference snapshot 16/133216/1
authorYonghee Han <onstudy@samsung.com>
Fri, 9 Jun 2017 08:24:22 +0000 (17:24 +0900)
committerYonghee Han <onstudy@samsung.com>
Fri, 9 Jun 2017 08:24:22 +0000 (17:24 +0900)
Change-Id: I537f7f1ff0f98f8f03517ec6cfc66d5d050fdfa1

common/snapshot.py

index dff2a8e..be7f1fe 100644 (file)
@@ -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,