diff options
Diffstat (limited to 'bitbake/lib/bb/fetch2/__init__.py')
-rw-r--r-- | bitbake/lib/bb/fetch2/__init__.py | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/bitbake/lib/bb/fetch2/__init__.py b/bitbake/lib/bb/fetch2/__init__.py index 9fec705ad6..f53467e73b 100644 --- a/bitbake/lib/bb/fetch2/__init__.py +++ b/bitbake/lib/bb/fetch2/__init__.py | |||
@@ -555,6 +555,9 @@ class FetchData(object): | |||
555 | if not self.method: | 555 | if not self.method: |
556 | raise NoMethodError(url) | 556 | raise NoMethodError(url) |
557 | 557 | ||
558 | if hasattr(self.method, "urldata_init"): | ||
559 | self.method.urldata_init(self, d) | ||
560 | |||
558 | if self.method.supports_srcrev(): | 561 | if self.method.supports_srcrev(): |
559 | self.revisions = {} | 562 | self.revisions = {} |
560 | for name in self.names: | 563 | for name in self.names: |
@@ -564,8 +567,8 @@ class FetchData(object): | |||
564 | if len(self.names) == 1: | 567 | if len(self.names) == 1: |
565 | self.revision = self.revisions[self.names[0]] | 568 | self.revision = self.revisions[self.names[0]] |
566 | 569 | ||
567 | if hasattr(self.method, "urldata_init"): | 570 | if hasattr(self.method, "fixuprevisions"): |
568 | self.method.urldata_init(self, d) | 571 | self.method.fixuprevisions(self, d) |
569 | 572 | ||
570 | if "localpath" in self.parm: | 573 | if "localpath" in self.parm: |
571 | # if user sets localpath for file, use it instead. | 574 | # if user sets localpath for file, use it instead. |