mirror of
https://git.yoctoproject.org/poky
synced 2026-05-08 17:19:20 +00:00
base.bbclass: Fix base_get_srcrev
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@2278 311d38ba-8fff-0310-9ca6-ca027cbcb966
This commit is contained in:
@@ -748,7 +748,7 @@ python () {
|
||||
def base_get_srcrev(d):
|
||||
import bb
|
||||
|
||||
if bb.fetch.get_srcrev:
|
||||
if hasattr(bb.fetch, "get_srcrev"):
|
||||
return bb.fetch.get_srcrev(d)
|
||||
return "NOT IMPLEMENTED"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user