summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/bb/fetch2/osc.py
diff options
context:
space:
mode:
Diffstat (limited to 'bitbake/lib/bb/fetch2/osc.py')
-rw-r--r--bitbake/lib/bb/fetch2/osc.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/bitbake/lib/bb/fetch2/osc.py b/bitbake/lib/bb/fetch2/osc.py
index 9b97cf1cc7..5c3a6fea68 100644
--- a/bitbake/lib/bb/fetch2/osc.py
+++ b/bitbake/lib/bb/fetch2/osc.py
@@ -11,12 +11,12 @@ import sys
11import logging 11import logging
12import bb 12import bb
13from bb import data 13from bb import data
14from bb.fetch2 import Fetch 14from bb.fetch2 import FetchMethod
15from bb.fetch2 import FetchError 15from bb.fetch2 import FetchError
16from bb.fetch2 import MissingParameterError 16from bb.fetch2 import MissingParameterError
17from bb.fetch2 import runfetchcmd 17from bb.fetch2 import runfetchcmd
18 18
19class Osc(Fetch): 19class Osc(FetchMethod):
20 """Class to fetch a module or modules from Opensuse build server 20 """Class to fetch a module or modules from Opensuse build server
21 repositories.""" 21 repositories."""
22 22
@@ -41,7 +41,7 @@ class Osc(Fetch):
41 ud.revision = ud.parm['rev'] 41 ud.revision = ud.parm['rev']
42 else: 42 else:
43 pv = data.getVar("PV", d, 0) 43 pv = data.getVar("PV", d, 0)
44 rev = Fetch.srcrev_internal_helper(ud, d) 44 rev = FetchMethod.srcrev_internal_helper(ud, d)
45 if rev and rev != True: 45 if rev and rev != True:
46 ud.revision = rev 46 ud.revision = rev
47 else: 47 else: