From 67fac77e10269099796a6bd03ddaf1580949a4b8 Mon Sep 17 00:00:00 2001 From: Chris Larson Date: Tue, 8 Mar 2011 12:07:24 -0700 Subject: Fix more incorrect usages of 'is' (Bitbake rev: a26a2f548419af0e971ad21ec0a29e5245fe307f) Signed-off-by: Chris Larson Signed-off-by: Richard Purdie --- bitbake/lib/bb/fetch2/osc.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'bitbake/lib/bb/fetch2/osc.py') diff --git a/bitbake/lib/bb/fetch2/osc.py b/bitbake/lib/bb/fetch2/osc.py index 7c4c90c715..a16a53e544 100644 --- a/bitbake/lib/bb/fetch2/osc.py +++ b/bitbake/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) -- cgit v1.2.3-54-g00ecf