summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrei Gherzan <andrei@gherzan.ro>2012-07-11 00:34:15 +0300
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-07-11 15:55:25 +0100
commitbd8d18f7421cef3131e39cab9a30b05790b25c9c (patch)
tree65ad2a35370f58facec139e3ca0cc669457da1fd
parentcf599d12d390a920ac7f1e91a11ad70aa88c2dc6 (diff)
downloadpoky-bd8d18f7421cef3131e39cab9a30b05790b25c9c.tar.gz
poky-bd8d18f7421cef3131e39cab9a30b05790b25c9c.tar.bz2
poky-bd8d18f7421cef3131e39cab9a30b05790b25c9c.zip
bitbake: fetch2/hg.py: Use "protocol" parameter to get the protocol
(Bitbake rev: f4a780a7f50fdd8f2bd75888dad790bcfe95b873) Signed-off-by: Andrei Gherzan <andrei@gherzan.ro> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--bitbake/lib/bb/fetch2/hg.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bitbake/lib/bb/fetch2/hg.py b/bitbake/lib/bb/fetch2/hg.py
index ad6e85d70b..155ae67bbd 100644
--- a/bitbake/lib/bb/fetch2/hg.py
+++ b/bitbake/lib/bb/fetch2/hg.py
@@ -82,7 +82,7 @@ class Hg(FetchMethod):
basecmd = data.expand('${FETCHCMD_hg}', d)
- proto = ud.parm.get('proto', 'http')
+ proto = ud.parm.get('protocol', 'http')
host = ud.host
if proto == "file":