diff options
Diffstat (limited to 'bitbake/lib/bb/fetch2/osc.py')
-rw-r--r-- | bitbake/lib/bb/fetch2/osc.py | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/bitbake/lib/bb/fetch2/osc.py b/bitbake/lib/bb/fetch2/osc.py index 26f88e1f46..2b4f7d9c13 100644 --- a/bitbake/lib/bb/fetch2/osc.py +++ b/bitbake/lib/bb/fetch2/osc.py | |||
@@ -10,7 +10,6 @@ import os | |||
10 | import sys | 10 | import sys |
11 | import logging | 11 | import logging |
12 | import bb | 12 | import bb |
13 | from bb import data | ||
14 | from bb.fetch2 import FetchMethod | 13 | from bb.fetch2 import FetchMethod |
15 | from bb.fetch2 import FetchError | 14 | from bb.fetch2 import FetchError |
16 | from bb.fetch2 import MissingParameterError | 15 | from bb.fetch2 import MissingParameterError |
@@ -47,7 +46,7 @@ class Osc(FetchMethod): | |||
47 | else: | 46 | else: |
48 | ud.revision = "" | 47 | ud.revision = "" |
49 | 48 | ||
50 | ud.localfile = data.expand('%s_%s_%s.tar.gz' % (ud.module.replace('/', '.'), ud.path.replace('/', '.'), ud.revision), d) | 49 | ud.localfile = d.expand('%s_%s_%s.tar.gz' % (ud.module.replace('/', '.'), ud.path.replace('/', '.'), ud.revision)) |
51 | 50 | ||
52 | def _buildosccommand(self, ud, d, command): | 51 | def _buildosccommand(self, ud, d, command): |
53 | """ | 52 | """ |
@@ -55,7 +54,7 @@ class Osc(FetchMethod): | |||
55 | command is "fetch", "update", "info" | 54 | command is "fetch", "update", "info" |
56 | """ | 55 | """ |
57 | 56 | ||
58 | basecmd = data.expand('${FETCHCMD_osc}', d) | 57 | basecmd = d.expand('${FETCHCMD_osc}') |
59 | 58 | ||
60 | proto = ud.parm.get('protocol', 'ocs') | 59 | proto = ud.parm.get('protocol', 'ocs') |
61 | 60 | ||