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 e25913c87f..f51e0b5586 100644 --- a/meta/classes/base.bbclass +++ b/meta/classes/base.bbclass | |||
@@ -748,7 +748,7 @@ python () { | |||
748 | def base_get_srcrev(d): | 748 | def base_get_srcrev(d): |
749 | import bb | 749 | import bb |
750 | 750 | ||
751 | if bb.fetch.get_srcrev: | 751 | if hasattr(bb.fetch, "get_srcrev"): |
752 | return bb.fetch.get_srcrev(d) | 752 | return bb.fetch.get_srcrev(d) |
753 | return "NOT IMPLEMENTED" | 753 | return "NOT IMPLEMENTED" |
754 | 754 | ||