diff options
Diffstat (limited to 'bitbake/lib/bb/fetch/perforce.py')
-rw-r--r-- | bitbake/lib/bb/fetch/perforce.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/bitbake/lib/bb/fetch/perforce.py b/bitbake/lib/bb/fetch/perforce.py index e2c3421089..8bc3205c2a 100644 --- a/bitbake/lib/bb/fetch/perforce.py +++ b/bitbake/lib/bb/fetch/perforce.py | |||
@@ -160,7 +160,7 @@ class Perforce(Fetch): | |||
160 | tmppipe = os.popen(data.getVar('MKTEMPDIRCMD', localdata, 1) or "false") | 160 | tmppipe = os.popen(data.getVar('MKTEMPDIRCMD', localdata, 1) or "false") |
161 | tmpfile = tmppipe.readline().strip() | 161 | tmpfile = tmppipe.readline().strip() |
162 | if not tmpfile: | 162 | if not tmpfile: |
163 | bb.error("Fetch: unable to create temporary directory.. make sure 'mktemp' is in the PATH.") | 163 | bb.msg.error(bb.msg.domain.Fetcher, "Fetch: unable to create temporary directory.. make sure 'mktemp' is in the PATH.") |
164 | raise FetchError(module) | 164 | raise FetchError(module) |
165 | 165 | ||
166 | if "label" in parm: | 166 | if "label" in parm: |
@@ -175,7 +175,7 @@ class Perforce(Fetch): | |||
175 | p4file = os.popen("%s%s files %s" % (p4cmd, p4opt, depot)) | 175 | p4file = os.popen("%s%s files %s" % (p4cmd, p4opt, depot)) |
176 | 176 | ||
177 | if not p4file: | 177 | if not p4file: |
178 | bb.error("Fetch: unable to get the P4 files from %s" % (depot)) | 178 | bb.msg.error(bb.msg.domain.Fetcher, "Fetch: unable to get the P4 files from %s" % (depot)) |
179 | raise FetchError(module) | 179 | raise FetchError(module) |
180 | 180 | ||
181 | count = 0 | 181 | count = 0 |
@@ -193,7 +193,7 @@ class Perforce(Fetch): | |||
193 | count = count + 1 | 193 | count = count + 1 |
194 | 194 | ||
195 | if count == 0: | 195 | if count == 0: |
196 | bb.error("Fetch: No files gathered from the P4 fetch") | 196 | bb.msg.error(bb.msg.domain.Fetcher, "Fetch: No files gathered from the P4 fetch") |
197 | raise FetchError(module) | 197 | raise FetchError(module) |
198 | 198 | ||
199 | myret = os.system("tar -czf %s %s" % (ud.localpath, module)) | 199 | myret = os.system("tar -czf %s %s" % (ud.localpath, module)) |