summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/bb/fetch2/clearcase.py
diff options
context:
space:
mode:
Diffstat (limited to 'bitbake/lib/bb/fetch2/clearcase.py')
-rw-r--r--bitbake/lib/bb/fetch2/clearcase.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/bitbake/lib/bb/fetch2/clearcase.py b/bitbake/lib/bb/fetch2/clearcase.py
index 3dd93ad6b1..e2934ef9fc 100644
--- a/bitbake/lib/bb/fetch2/clearcase.py
+++ b/bitbake/lib/bb/fetch2/clearcase.py
@@ -145,18 +145,18 @@ class ClearCase(FetchMethod):
145 145
146 basecmd = "%s %s" % (ud.basecmd, command) 146 basecmd = "%s %s" % (ud.basecmd, command)
147 147
148 if command is 'mkview': 148 if command == 'mkview':
149 if not "rcleartool" in ud.basecmd: 149 if not "rcleartool" in ud.basecmd:
150 # Cleartool needs a -snapshot view 150 # Cleartool needs a -snapshot view
151 options.append("-snapshot") 151 options.append("-snapshot")
152 options.append("-tag %s" % ud.viewname) 152 options.append("-tag %s" % ud.viewname)
153 options.append(ud.viewdir) 153 options.append(ud.viewdir)
154 154
155 elif command is 'rmview': 155 elif command == 'rmview':
156 options.append("-force") 156 options.append("-force")
157 options.append("%s" % ud.viewdir) 157 options.append("%s" % ud.viewdir)
158 158
159 elif command is 'setcs': 159 elif command == 'setcs':
160 options.append("-overwrite") 160 options.append("-overwrite")
161 options.append(ud.configspecfile) 161 options.append(ud.configspecfile)
162 162