diff options
| -rw-r--r-- | bitbake/lib/bb/fetch2/clearcase.py | 4 |
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 | |||
| 54 | import bb | 54 | import bb |
| 55 | from bb.fetch2 import FetchMethod | 55 | from bb.fetch2 import FetchMethod |
| 56 | from bb.fetch2 import FetchError | 56 | from bb.fetch2 import FetchError |
| 57 | from bb.fetch2 import MissingParameterError | ||
| 58 | from bb.fetch2 import ParameterError | ||
| 57 | from bb.fetch2 import runfetchcmd | 59 | from bb.fetch2 import runfetchcmd |
| 58 | from bb.fetch2 import logger | 60 | from 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: |
