diff options
author | CHerzig@Gauselmann.de <CHerzig@Gauselmann.de> | 2019-07-16 14:39:58 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2019-07-16 14:19:15 +0100 |
commit | 3b6e8a2fe84e4c92c181d2a8c0135b47afd4bb93 (patch) | |
tree | 11f3d3a41aa9771d0827942f63fca128bdd72b5e | |
parent | efc22e755540aba81eec0bf6bedd97004ff1ba74 (diff) | |
download | poky-3b6e8a2fe84e4c92c181d2a8c0135b47afd4bb93.tar.gz |
bitbake: fetch2/clearcase: Fix class import errors
(Bitbake rev: 9a5152fa4613a1164cbf2a0248460e75207b2624)
Signed-off-by: Christian Herzig <cherzig@gauselmann.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-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: |