Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(165)

Unified Diff: gclient.py

Issue 3036013: Fix a bug with From('..', None) not working. (Closed)
Patch Set: Created 10 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gclient.py
diff --git a/gclient.py b/gclient.py
index 26c02cd40b8c8b6811c58e00c47b1e6d6190e9a7..99970ac28715701d3b765f4dba55cf14e5142768 100644
--- a/gclient.py
+++ b/gclient.py
@@ -191,7 +191,7 @@ class Dependency(GClientKeywords):
raise Exception('Failed to find one reference to %s. %s' % (
url.module_name, ref))
ref = ref[0]
- sub_target = url.sub_target_name or url
+ sub_target = url.sub_target_name or self.name
# Make sure the referenced dependency DEPS file is loaded and file the
# inner referenced dependency.
ref.ParseDepsFile(False)
@@ -752,7 +752,7 @@ solutions = [
def ParseDepsFile(self, direct_reference):
"""No DEPS to parse for a .gclient file."""
- self.direct_reference = direct_reference
+ self.direct_reference = True
self.deps_parsed = True
def root_dir(self):
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698