diff options
author | Julian Pidancet <julian.pidancet@gmail.com> | 2011-09-21 02:14:54 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-09-21 14:07:14 +0100 |
commit | 623e9c7f7a9cf12b8c81c26cc608990682a601dd (patch) | |
tree | 7b1c6cb63e1711cda7528575990980239017d86b /lib/bb | |
parent | 043914a8b478fd4a7799acd1b44bdb3b0af2165a (diff) | |
download | bitbake-623e9c7f7a9cf12b8c81c26cc608990682a601dd.tar.gz |
Fix mercurial fetcher in fetch2
The _build_revision method in Hg class gets called with the wrong number
of arguments. This tiny patch adds a 5th argument to the method
declaration to prevent python from throwing an exception.
Signed-off-by: Julian Pidancet <julian.pidancet@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'lib/bb')
-rw-r--r-- | lib/bb/fetch2/hg.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/bb/fetch2/hg.py b/lib/bb/fetch2/hg.py index 793831ae0..ad6e85d70 100644 --- a/lib/bb/fetch2/hg.py +++ b/lib/bb/fetch2/hg.py @@ -166,7 +166,7 @@ class Hg(FetchMethod): output = runfetchcmd(self._buildhgcommand(ud, d, "info"), d) return output.strip() - def _build_revision(self, url, ud, d): + def _build_revision(self, url, ud, d, name): return ud.revision def _revision_key(self, url, ud, d, name): |