summaryrefslogtreecommitdiff
path: root/bitbake/lib/bb
diff options
context:
space:
mode:
Diffstat (limited to 'bitbake/lib/bb')
-rw-r--r--bitbake/lib/bb/fetch/__init__.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bitbake/lib/bb/fetch/__init__.py b/bitbake/lib/bb/fetch/__init__.py
index b452751c7..65b4da07d 100644
--- a/bitbake/lib/bb/fetch/__init__.py
+++ b/bitbake/lib/bb/fetch/__init__.py
@@ -704,7 +704,7 @@ class Fetch(object):
raise InvalidSRCREV("Please set SRCREV to a valid value")
if not rev:
return False
- if rev is "SRCREVINACTION":
+ if rev == "SRCREVINACTION":
return True
return rev