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.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/bitbake/lib/bb/fetch2/clearcase.py b/bitbake/lib/bb/fetch2/clearcase.py
index 9ed0d9beaa..3dd93ad6b1 100644
--- a/bitbake/lib/bb/fetch2/clearcase.py
+++ b/bitbake/lib/bb/fetch2/clearcase.py
@@ -54,6 +54,8 @@ import shutil
54import bb 54import bb
55from bb.fetch2 import FetchMethod 55from bb.fetch2 import FetchMethod
56from bb.fetch2 import FetchError 56from bb.fetch2 import FetchError
57from bb.fetch2 import MissingParameterError
58from bb.fetch2 import ParameterError
57from bb.fetch2 import runfetchcmd 59from bb.fetch2 import runfetchcmd
58from bb.fetch2 import logger 60from bb.fetch2 import logger
59 61
@@ -79,7 +81,7 @@ class ClearCase(FetchMethod):
79 if 'protocol' in ud.parm: 81 if 'protocol' in ud.parm:
80 ud.proto = ud.parm['protocol'] 82 ud.proto = ud.parm['protocol']
81 if not ud.proto in ('http', 'https'): 83 if not ud.proto in ('http', 'https'):
82 raise fetch2.ParameterError("Invalid protocol type", ud.url) 84 raise ParameterError("Invalid protocol type", ud.url)
83 85
84 ud.vob = '' 86 ud.vob = ''
85 if 'vob' in ud.parm: 87 if 'vob' in ud.parm: