From ab0dd1397491478ee6149283e5ba8775dd8cdc3b Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Fri, 4 Feb 2011 10:49:27 +0000 Subject: bitbake/fetch2: Rename Fetch class to FetchMethod Signed-off-by: Richard Purdie --- bitbake/lib/bb/fetch2/osc.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'bitbake/lib/bb/fetch2/osc.py') diff --git a/bitbake/lib/bb/fetch2/osc.py b/bitbake/lib/bb/fetch2/osc.py index 9b97cf1cc..5c3a6fea6 100644 --- a/bitbake/lib/bb/fetch2/osc.py +++ b/bitbake/lib/bb/fetch2/osc.py @@ -11,12 +11,12 @@ import sys import logging import bb from bb import data -from bb.fetch2 import Fetch +from bb.fetch2 import FetchMethod from bb.fetch2 import FetchError from bb.fetch2 import MissingParameterError from bb.fetch2 import runfetchcmd -class Osc(Fetch): +class Osc(FetchMethod): """Class to fetch a module or modules from Opensuse build server repositories.""" @@ -41,7 +41,7 @@ class Osc(Fetch): ud.revision = ud.parm['rev'] else: pv = data.getVar("PV", d, 0) - rev = Fetch.srcrev_internal_helper(ud, d) + rev = FetchMethod.srcrev_internal_helper(ud, d) if rev and rev != True: ud.revision = rev else: -- cgit v1.2.3