summaryrefslogtreecommitdiff
path: root/meta/classes
diff options
context:
space:
mode:
authorRichard Purdie <richard@openedhand.com>2007-08-01 13:13:59 +0000
committerRichard Purdie <richard@openedhand.com>2007-08-01 13:13:59 +0000
commit41228de5fb831212030f9277ba0e3d21109e13fc (patch)
tree6f6471aa7ecbdd3a3e53d796fe566e31239241e8 /meta/classes
parentaa175aebf0efe09d0820fb7ee2630780586f9939 (diff)
downloadopenembedded-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/classes')
-rw-r--r--meta/classes/base.bbclass2
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"