diff options
Diffstat (limited to 'meta/classes')
-rw-r--r-- | meta/classes/base.bbclass | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/base.bbclass b/meta/classes/base.bbclass index e25913c87..f51e0b558 100644 --- a/meta/classes/base.bbclass +++ b/meta/classes/base.bbclass @@ -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" |