diff options
Diffstat (limited to 'bitbake/lib/bb/fetch2')
| -rw-r--r-- | bitbake/lib/bb/fetch2/__init__.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bitbake/lib/bb/fetch2/__init__.py b/bitbake/lib/bb/fetch2/__init__.py index 9fe4eb2c02..d62ba81b36 100644 --- a/bitbake/lib/bb/fetch2/__init__.py +++ b/bitbake/lib/bb/fetch2/__init__.py | |||
| @@ -864,7 +864,7 @@ class Fetch(object): | |||
| 864 | if uselocalcount: | 864 | if uselocalcount: |
| 865 | count = Fetch.localcount_internal_helper(ud, d) | 865 | count = Fetch.localcount_internal_helper(ud, d) |
| 866 | if count is None: | 866 | if count is None: |
| 867 | count = localcounts[key + '_count'] | 867 | count = localcounts[key + '_count'] or "0" |
| 868 | 868 | ||
| 869 | if last_rev == latest_rev: | 869 | if last_rev == latest_rev: |
| 870 | return str(count + "+" + latest_rev) | 870 | return str(count + "+" + latest_rev) |
