summaryrefslogtreecommitdiffstats
path: root/lib/bb/fetch2/osc.py
diff options
context:
space:
mode:
authorChris Larson <chris_larson@mentor.com>2011-03-08 12:07:24 -0700
committerChris Larson <chris_larson@mentor.com>2011-03-16 07:38:39 -0700
commita26a2f548419af0e971ad21ec0a29e5245fe307f (patch)
tree4cb637769e8716f5eeb9aefc97740eb3414137c7 /lib/bb/fetch2/osc.py
parent8f5cf3a9975d8e6878e403be0e6edc22cc44f396 (diff)
downloadbitbake-a26a2f548419af0e971ad21ec0a29e5245fe307f.tar.gz
Fix more incorrect usages of 'is'
Signed-off-by: Chris Larson <chris_larson@mentor.com>
Diffstat (limited to 'lib/bb/fetch2/osc.py')
-rw-r--r--lib/bb/fetch2/osc.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/bb/fetch2/osc.py b/lib/bb/fetch2/osc.py
index 7c4c90c71..a16a53e54 100644
--- a/lib/bb/fetch2/osc.py
+++ b/lib/bb/fetch2/osc.py
@@ -68,9 +68,9 @@ class Osc(FetchMethod):
coroot = self._strip_leading_slashes(ud.path)
- if command is "fetch":
+ if command == "fetch":
osccmd = "%s %s co %s/%s %s" % (basecmd, config, coroot, ud.module, " ".join(options))
- elif command is "update":
+ elif command == "update":
osccmd = "%s %s up %s" % (basecmd, config, " ".join(options))
else:
raise FetchError("Invalid osc command %s" % command, ud.url)