Index: cros_mark_as_stable.py |
diff --git a/cros_mark_as_stable.py b/cros_mark_as_stable.py |
index 013ccd1ca915fb3f70f00290493d6d24bb73e4c9..8fa635e467ed16f8cca6310e6cbc0387fccc165f 100755 |
--- a/cros_mark_as_stable.py |
+++ b/cros_mark_as_stable.py |
@@ -361,12 +361,6 @@ class EBuild(object): |
dir = 'third_party' |
srcdir = os.path.join(srcroot, dir, subdir) |
- # TODO(anush): This hack is only necessary because the kernel ebuild has |
- # 'if' statements, so we can't grab the CROS_WORKON_LOCALNAME properly. |
- # We should clean up the kernel ebuild and remove this hack. |
- if not os.path.isdir(srcdir) and subdir == 'kernel/': |
- srcdir = os.path.join(srcroot, 'third_party/kernel/files') |
- |
if not os.path.isdir(srcdir): |
Die('Cannot find commit id for %s' % self.ebuild_path) |