diff options
Diffstat (limited to 'bitbake/lib/bb/fetch2/__init__.py')
-rw-r--r-- | bitbake/lib/bb/fetch2/__init__.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/bitbake/lib/bb/fetch2/__init__.py b/bitbake/lib/bb/fetch2/__init__.py index bdec67776f..b60ed0ce67 100644 --- a/bitbake/lib/bb/fetch2/__init__.py +++ b/bitbake/lib/bb/fetch2/__init__.py | |||
@@ -587,7 +587,7 @@ class FetchData(object): | |||
587 | self.localpath = None | 587 | self.localpath = None |
588 | self.lockfile = None | 588 | self.lockfile = None |
589 | (self.type, self.host, self.path, self.user, self.pswd, self.parm) = decodeurl(data.expand(url, d)) | 589 | (self.type, self.host, self.path, self.user, self.pswd, self.parm) = decodeurl(data.expand(url, d)) |
590 | self.date = Fetch.getSRCDate(self, d) | 590 | self.date = FetchMethod.getSRCDate(self, d) |
591 | self.url = url | 591 | self.url = url |
592 | if not self.user and "user" in self.parm: | 592 | if not self.user and "user" in self.parm: |
593 | self.user = self.parm["user"] | 593 | self.user = self.parm["user"] |
@@ -618,7 +618,7 @@ class FetchData(object): | |||
618 | if self.method.supports_srcrev(): | 618 | if self.method.supports_srcrev(): |
619 | self.revisions = {} | 619 | self.revisions = {} |
620 | for name in self.names: | 620 | for name in self.names: |
621 | self.revisions[name] = Fetch.srcrev_internal_helper(self, d, name) | 621 | self.revisions[name] = FetchMethod.srcrev_internal_helper(self, d, name) |
622 | 622 | ||
623 | # add compatibility code for non name specified case | 623 | # add compatibility code for non name specified case |
624 | if len(self.names) == 1: | 624 | if len(self.names) == 1: |
@@ -645,7 +645,7 @@ class FetchData(object): | |||
645 | self.localpath = self.method.localpath(self.url, self, d) | 645 | self.localpath = self.method.localpath(self.url, self, d) |
646 | 646 | ||
647 | 647 | ||
648 | class Fetch(object): | 648 | class FetchMethod(object): |
649 | """Base class for 'fetch'ing data""" | 649 | """Base class for 'fetch'ing data""" |
650 | 650 | ||
651 | def __init__(self, urls = []): | 651 | def __init__(self, urls = []): |
@@ -893,7 +893,7 @@ class Fetch(object): | |||
893 | uselocalcount = bb.data.getVar("BB_LOCALCOUNT_OVERRIDE", d, True) or False | 893 | uselocalcount = bb.data.getVar("BB_LOCALCOUNT_OVERRIDE", d, True) or False |
894 | count = None | 894 | count = None |
895 | if uselocalcount: | 895 | if uselocalcount: |
896 | count = Fetch.localcount_internal_helper(ud, d, name) | 896 | count = FetchMethod.localcount_internal_helper(ud, d, name) |
897 | if count is None: | 897 | if count is None: |
898 | count = localcounts[key + '_count'] or "0" | 898 | count = localcounts[key + '_count'] or "0" |
899 | 899 | ||