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.py5
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
10import sys 10import sys
11import logging 11import logging
12import bb 12import bb
13from bb import data
14from bb.fetch2 import FetchMethod 13from bb.fetch2 import FetchMethod
15from bb.fetch2 import FetchError 14from bb.fetch2 import FetchError
16from bb.fetch2 import MissingParameterError 15from 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