fetch2/osc: Add missing parameter

Message ID 20220421200241.2608546-1-richard.purdie@linuxfoundation.org
State Accepted, archived
Commit a23c201cb6efc5c0abf763c26f905442f0eebb68
Headers show
Series fetch2/osc: Add missing parameter | expand

Commit Message

Richard Purdie April 21, 2022, 8:02 p.m. UTC
This probably means the osc fetcher isn't being used but fix the missing
parameter.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
---
 lib/bb/fetch2/osc.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Patch

diff --git a/lib/bb/fetch2/osc.py b/lib/bb/fetch2/osc.py
index d9ce44390c..99a529e5bf 100644
--- a/lib/bb/fetch2/osc.py
+++ b/lib/bb/fetch2/osc.py
@@ -43,7 +43,7 @@  class Osc(FetchMethod):
             ud.revision = ud.parm['rev']
         else:
             pv = d.getVar("PV", False)
-            rev = bb.fetch2.srcrev_internal_helper(ud, d)
+            rev = bb.fetch2.srcrev_internal_helper(ud, d, '')
             if rev:
                 ud.revision = rev
             else: