1
0
mirror of https://git.yoctoproject.org/poky synced 2026-06-01 13:09:50 +00:00

bitbake/fetch2: Make srcrev_internal_helper a normal function, doesn't belong in the FetchMethod class

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Richard Purdie
2011-02-04 10:59:42 +00:00
parent ab0dd13974
commit 831c6c1d3c
2 changed files with 32 additions and 35 deletions
+1 -1
View File
@@ -41,7 +41,7 @@ class Osc(FetchMethod):
ud.revision = ud.parm['rev']
else:
pv = data.getVar("PV", d, 0)
rev = FetchMethod.srcrev_internal_helper(ud, d)
rev = bb.fetch2.srcrev_internal_helper(ud, d)
if rev and rev != True:
ud.revision = rev
else: