aboutsummaryrefslogtreecommitdiffstats
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 11:43:10 +0100
commitf4a780a7f50fdd8f2bd75888dad790bcfe95b873 (patch)
treecc9bfec2d9b2c50062e84fe8d35bb5bfe7082066
parent01040efce82cfbaa76f46d9f95c984be8f9ea810 (diff)
downloadbitbake-f4a780a7f50fdd8f2bd75888dad790bcfe95b873.tar.gz
bitbake-f4a780a7f50fdd8f2bd75888dad790bcfe95b873.tar.bz2
bitbake-f4a780a7f50fdd8f2bd75888dad790bcfe95b873.zip
fetch2/hg.py: Use "protocol" parameter to get the protocol
Signed-off-by: Andrei Gherzan <andrei@gherzan.ro> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--lib/bb/fetch2/hg.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/bb/fetch2/hg.py b/lib/bb/fetch2/hg.py
index ad6e85d7..155ae67b 100644
--- a/lib/bb/fetch2/hg.py
+++ b/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":