diff options
Diffstat (limited to 'bitbake/lib/bb/fetch2/osc.py')
-rw-r--r-- | bitbake/lib/bb/fetch2/osc.py | 6 |
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 | |||
11 | import logging | 11 | import logging |
12 | import bb | 12 | import bb |
13 | from bb import data | 13 | from bb import data |
14 | from bb.fetch2 import Fetch | 14 | from bb.fetch2 import FetchMethod |
15 | from bb.fetch2 import FetchError | 15 | from bb.fetch2 import FetchError |
16 | from bb.fetch2 import MissingParameterError | 16 | from bb.fetch2 import MissingParameterError |
17 | from bb.fetch2 import runfetchcmd | 17 | from bb.fetch2 import runfetchcmd |
18 | 18 | ||
19 | class Osc(Fetch): | 19 | class 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: |