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 | poky-41228de5fb831212030f9277ba0e3d21109e13fc.tar.gz |
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 () { | |||
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 | ||