diff options
Diffstat (limited to 'buildstream/plugins/sources/_downloadablefilesource.py')
-rw-r--r-- | buildstream/plugins/sources/_downloadablefilesource.py | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/buildstream/plugins/sources/_downloadablefilesource.py b/buildstream/plugins/sources/_downloadablefilesource.py index 90d3709c2..a2ed366ad 100644 --- a/buildstream/plugins/sources/_downloadablefilesource.py +++ b/buildstream/plugins/sources/_downloadablefilesource.py @@ -13,11 +13,9 @@ class DownloadableFileSource(Source): COMMON_CONFIG_KEYS = Source.COMMON_CONFIG_KEYS + ['url', 'ref'] def configure(self, node): - project = self.get_project() - self.original_url = self.node_get_member(node, str, 'url') self.ref = self.node_get_member(node, str, 'ref', '') or None - self.url = project.translate_url(self.original_url) + self.url = self.translate_url(self.original_url) def preflight(self): return |