summaryrefslogtreecommitdiffstats
path: root/bitbake
diff options
context:
space:
mode:
authorCHerzig@Gauselmann.de <CHerzig@Gauselmann.de>2019-07-16 14:39:58 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2019-07-16 14:19:15 +0100
commit3b6e8a2fe84e4c92c181d2a8c0135b47afd4bb93 (patch)
tree11f3d3a41aa9771d0827942f63fca128bdd72b5e /bitbake
parentefc22e755540aba81eec0bf6bedd97004ff1ba74 (diff)
downloadpoky-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>
Diffstat (limited to 'bitbake')
-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: