1
0
mirror of https://git.yoctoproject.org/poky synced 2026-05-08 05:09:24 +00:00

bitbake/fetch2: Ensure the local revision counter takes a default value of 0, not None

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Richard Purdie
2011-02-01 23:33:19 +00:00
parent c7c4c6678b
commit 05954ef4d7
+1 -1
View File
@@ -864,7 +864,7 @@ class Fetch(object):
if uselocalcount:
count = Fetch.localcount_internal_helper(ud, d)
if count is None:
count = localcounts[key + '_count']
count = localcounts[key + '_count'] or "0"
if last_rev == latest_rev:
return str(count + "+" + latest_rev)