summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/bb/fetch2/osc.py
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2011-02-04 10:59:42 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-02-07 09:06:36 +0000
commit831c6c1d3c23c50f9c55a6bbf8dc6311bca3881b (patch)
treea64ec10c8e8146fe6d280550a229f34c0e488f7d /bitbake/lib/bb/fetch2/osc.py
parentab0dd1397491478ee6149283e5ba8775dd8cdc3b (diff)
downloadast2050-yocto-poky-831c6c1d3c23c50f9c55a6bbf8dc6311bca3881b.zip
ast2050-yocto-poky-831c6c1d3c23c50f9c55a6bbf8dc6311bca3881b.tar.gz
bitbake/fetch2: Make srcrev_internal_helper a normal function, doesn't belong in the FetchMethod class
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/bb/fetch2/osc.py')
-rw-r--r--bitbake/lib/bb/fetch2/osc.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bitbake/lib/bb/fetch2/osc.py b/bitbake/lib/bb/fetch2/osc.py
index 5c3a6fe..f252b5e 100644
--- a/bitbake/lib/bb/fetch2/osc.py
+++ b/bitbake/lib/bb/fetch2/osc.py
@@ -41,7 +41,7 @@ class Osc(FetchMethod):
ud.revision = ud.parm['rev']
else:
pv = data.getVar("PV", d, 0)
- rev = FetchMethod.srcrev_internal_helper(ud, d)
+ rev = bb.fetch2.srcrev_internal_helper(ud, d)
if rev and rev != True:
ud.revision = rev
else:
OpenPOWER on IntegriCloud