diff options
| author | Uwe Kleine-König <u.kleine-koenig@baylibre.com> | 2025-10-06 16:02:47 +0200 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2025-11-07 13:15:35 +0000 |
| commit | 711b86f6fae4fd205357738bdf374ada164c9f57 (patch) | |
| tree | 80584a9615cb205eca5bd3a1c87dd214ea5652de /bitbake/lib | |
| parent | acd190f2d92efd241061bc8c3db49b6ece2a9552 (diff) | |
| download | poky-711b86f6fae4fd205357738bdf374ada164c9f57.tar.gz | |
bitbake: bitbake/bzr: Drop check for unset .revision after .setup_revisions()
FetchMethod.latest_revision() expects three parameters, so the call
`self.latest_revision(ud, d)` triggers an exception.
Drop that error path that obviously isn't used.
(Bitbake rev: 205bf5501a51be256c203d9d6b41bae24a288b93)
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@baylibre.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib')
| -rw-r--r-- | bitbake/lib/bb/fetch2/bzr.py | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/bitbake/lib/bb/fetch2/bzr.py b/bitbake/lib/bb/fetch2/bzr.py index fc558f50b0..443195fa00 100644 --- a/bitbake/lib/bb/fetch2/bzr.py +++ b/bitbake/lib/bb/fetch2/bzr.py | |||
| @@ -35,9 +35,6 @@ class Bzr(FetchMethod): | |||
| 35 | 35 | ||
| 36 | ud.setup_revisions(d) | 36 | ud.setup_revisions(d) |
| 37 | 37 | ||
| 38 | if not ud.revision: | ||
| 39 | ud.revision = self.latest_revision(ud, d) | ||
| 40 | |||
| 41 | ud.localfile = d.expand('bzr_%s_%s_%s.tar.gz' % (ud.host, ud.path.replace('/', '.'), ud.revision)) | 38 | ud.localfile = d.expand('bzr_%s_%s_%s.tar.gz' % (ud.host, ud.path.replace('/', '.'), ud.revision)) |
| 42 | 39 | ||
| 43 | def _buildbzrcommand(self, ud, d, command): | 40 | def _buildbzrcommand(self, ud, d, command): |
