summaryrefslogtreecommitdiff
path: root/classes
diff options
context:
space:
mode:
authorRichard Purdie <rpurdie@rpsys.net>2007-08-01 23:13:49 +0000
committerRichard Purdie <rpurdie@rpsys.net>2007-08-01 23:13:49 +0000
commitb9baf075d1e3d7d3334a6582f81f6ceb3492815e (patch)
treead3efdb50ac16829ea11fd5929bc9f2ae55da66f /classes
parent77dde41c82d3fbac663766c08eecdfc87671b779 (diff)
base.bbclass: Fix base_get_srcrev()
Diffstat (limited to 'classes')
-rw-r--r--classes/base.bbclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/classes/base.bbclass b/classes/base.bbclass
index 5381d43e7b..a81263a12a 100644
--- a/classes/base.bbclass
+++ b/classes/base.bbclass
@@ -896,7 +896,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"