diff options
author | Richard Purdie <rpurdie@linux.intel.com> | 2006-09-09 16:58:58 +0000 |
---|---|---|
committer | Richard Purdie <rpurdie@linux.intel.com> | 2006-09-09 16:58:58 +0000 |
commit | 2bc178d17fa4f0ac52e0cc8d35f04e6a4f68fde5 (patch) | |
tree | 97e4e3e7c4be51324f0c7e36c1c21b628f29588d /lib/bb/fetch/svn.py | |
parent | 26e5964968e15905a281b085866bccc293cab039 (diff) | |
download | bitbake-2bc178d17fa4f0ac52e0cc8d35f04e6a4f68fde5.tar.gz |
Convert fetchers to use bb.msg
Diffstat (limited to 'lib/bb/fetch/svn.py')
-rw-r--r-- | lib/bb/fetch/svn.py | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/lib/bb/fetch/svn.py b/lib/bb/fetch/svn.py index fbb3f2f03..ad36b017f 100644 --- a/lib/bb/fetch/svn.py +++ b/lib/bb/fetch/svn.py @@ -114,7 +114,7 @@ class Svn(Fetch): # try to use the tarball stash if Fetch.check_for_tarball(d, tarfn, dldir, date): - bb.debug(1, "%s already exists or was mirrored, skipping svn checkout." % tarfn) + bb.msg.debug(1, bb.msg.domain.Fetcher, "%s already exists or was mirrored, skipping svn checkout." % tarfn) continue olddir = os.path.abspath(os.getcwd()) @@ -141,20 +141,20 @@ class Svn(Fetch): pkg=data.expand('${PN}', d) pkgdir=os.path.join(data.expand('${SVNDIR}', localdata), pkg) moddir=os.path.join(pkgdir, module) - bb.debug(2, "Fetch: checking for module directory '" + moddir + "'") + bb.msg.debug(2, bb.msg.domain.Fetcher, "Fetch: checking for module directory '" + moddir + "'") if os.access(os.path.join(moddir,'.svn'), os.R_OK): - bb.note("Update " + loc) + bb.msg.note(1, bb.msg.domain.Fetcher, "Update " + loc) # update sources there os.chdir(moddir) - bb.debug(1, "Running %s" % svnupcmd) + bb.msg.debug(1, bb.msg.domain.Fetcher, "Running %s" % svnupcmd) myret = os.system(svnupcmd) else: - bb.note("Fetch " + loc) + bb.msg.note(1, bb.msg.domain.Fetcher, "Fetch " + loc) # check out sources there bb.mkdirhier(pkgdir) os.chdir(pkgdir) - bb.debug(1, "Running %s" % svncmd) + bb.msg.debug(1, bb.msg.domain.Fetcher, "Running %s" % svncmd) myret = os.system(svncmd) if myret != 0: |