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:
Richard Purdie 2007-08-01 13:13:59 +00:00
parent aa175aebf0
commit 41228de5fb

View File

@ -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"