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 3a6cd29510..d9ce44390c 100644
--- a/bitbake/lib/bb/fetch2/osc.py
+++ b/bitbake/lib/bb/fetch2/osc.py
@@ -84,13 +84,13 @@ class Osc(FetchMethod):
84 Fetch url 84 Fetch url
85 """ 85 """
86 86
87 logger.debug(2, "Fetch: checking for module directory '" + ud.moddir + "'") 87 logger.debug2("Fetch: checking for module directory '" + ud.moddir + "'")
88 88
89 if os.access(os.path.join(d.getVar('OSCDIR'), ud.path, ud.module), os.R_OK): 89 if os.access(os.path.join(d.getVar('OSCDIR'), ud.path, ud.module), os.R_OK):
90 oscupdatecmd = self._buildosccommand(ud, d, "update") 90 oscupdatecmd = self._buildosccommand(ud, d, "update")
91 logger.info("Update "+ ud.url) 91 logger.info("Update "+ ud.url)
92 # update sources there 92 # update sources there
93 logger.debug(1, "Running %s", oscupdatecmd) 93 logger.debug("Running %s", oscupdatecmd)
94 bb.fetch2.check_network_access(d, oscupdatecmd, ud.url) 94 bb.fetch2.check_network_access(d, oscupdatecmd, ud.url)
95 runfetchcmd(oscupdatecmd, d, workdir=ud.moddir) 95 runfetchcmd(oscupdatecmd, d, workdir=ud.moddir)
96 else: 96 else:
@@ -98,7 +98,7 @@ class Osc(FetchMethod):
98 logger.info("Fetch " + ud.url) 98 logger.info("Fetch " + ud.url)
99 # check out sources there 99 # check out sources there
100 bb.utils.mkdirhier(ud.pkgdir) 100 bb.utils.mkdirhier(ud.pkgdir)
101 logger.debug(1, "Running %s", oscfetchcmd) 101 logger.debug("Running %s", oscfetchcmd)
102 bb.fetch2.check_network_access(d, oscfetchcmd, ud.url) 102 bb.fetch2.check_network_access(d, oscfetchcmd, ud.url)
103 runfetchcmd(oscfetchcmd, d, workdir=ud.pkgdir) 103 runfetchcmd(oscfetchcmd, d, workdir=ud.pkgdir)
104 104