diff options
author | Richard Purdie <richard@openedhand.com> | 2007-08-01 13:13:59 +0000 |
---|---|---|
committer | Richard Purdie <richard@openedhand.com> | 2007-08-01 13:13:59 +0000 |
commit | 41228de5fb831212030f9277ba0e3d21109e13fc (patch) | |
tree | 6f6471aa7ecbdd3a3e53d796fe566e31239241e8 /meta | |
parent | aa175aebf0efe09d0820fb7ee2630780586f9939 (diff) | |
download | openembedded-core-41228de5fb831212030f9277ba0e3d21109e13fc.tar.gz openembedded-core-41228de5fb831212030f9277ba0e3d21109e13fc.tar.bz2 openembedded-core-41228de5fb831212030f9277ba0e3d21109e13fc.zip |
base.bbclass: Fix base_get_srcrev
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@2278 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'meta')
-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 () { 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" |