1
0
mirror of https://git.yoctoproject.org/poky synced 2026-06-01 13:09:50 +00:00

bitbake/fetch2: Rename Fetch class to FetchMethod

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Richard Purdie
2011-02-04 10:49:27 +00:00
parent 74b71864fe
commit ab0dd13974
13 changed files with 29 additions and 29 deletions
+3 -3
View File
@@ -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: