Reviewers: Michael Achenbach,

Message:
PTAL

Description:
Return no hash if version is not available

BUG=

Please review this at https://codereview.chromium.org/1105023002/

Base URL: https://chromium.googlesource.com/v8/v8.git@master

Affected files (+2, -0 lines):
  M tools/release/releases.py


Index: tools/release/releases.py
diff --git a/tools/release/releases.py b/tools/release/releases.py
index a82da2bddf5aaec98fc9518180fc47297093f9d2..5b826fccba089d27afc2f0cab0fefc209ae033af 100755
--- a/tools/release/releases.py
+++ b/tools/release/releases.py
@@ -461,6 +461,8 @@ class RetrieveInformationOnChromeReleases(Step):
     self["chrome_releases"] = chrome_releases

   def _GetGitHashForV8Version(self, v8_version):
+    if v8_version == "N/A":
+      return ""
     if v8_version.split(".")[3]== "0":
       return self.GitGetHashOfTag(v8_version[:-2])



--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
--- You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to