diff options
author | Andrei Gherzan <andrei@gherzan.ro> | 2012-07-11 00:34:15 +0300 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-07-11 15:55:25 +0100 |
commit | bd8d18f7421cef3131e39cab9a30b05790b25c9c (patch) | |
tree | 65ad2a35370f58facec139e3ca0cc669457da1fd | |
parent | cf599d12d390a920ac7f1e91a11ad70aa88c2dc6 (diff) | |
download | poky-bd8d18f7421cef3131e39cab9a30b05790b25c9c.tar.gz |
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.py | 2 |
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): | |||
82 | 82 | ||
83 | basecmd = data.expand('${FETCHCMD_hg}', d) | 83 | basecmd = data.expand('${FETCHCMD_hg}', d) |
84 | 84 | ||
85 | proto = ud.parm.get('proto', 'http') | 85 | proto = ud.parm.get('protocol', 'http') |
86 | 86 | ||
87 | host = ud.host | 87 | host = ud.host |
88 | if proto == "file": | 88 | if proto == "file": |