1 |
--- |
2 |
pym/portage/package/ebuild/fetch.py | 5 +++-- |
3 |
1 file changed, 3 insertions(+), 2 deletions(-) |
4 |
|
5 |
diff --git a/pym/portage/package/ebuild/fetch.py b/pym/portage/package/ebuild/fetch.py |
6 |
index 5316f03..5984d82 100644 |
7 |
--- a/pym/portage/package/ebuild/fetch.py |
8 |
+++ b/pym/portage/package/ebuild/fetch.py |
9 |
@@ -445,8 +445,9 @@ def fetch(myuris, mysettings, listonly=0, fetchonly=0, |
10 |
filedict[myfile].extend(uris) |
11 |
thirdpartymirror_uris.setdefault(myfile, []).extend(uris) |
12 |
|
13 |
- if not filedict[myfile]: |
14 |
- writemsg(_("No known mirror by the name: %s\n") % (mirrorname)) |
15 |
+ if mirrorname not in custommirrors and \ |
16 |
+ mirrorname not in thirdpartymirrors: |
17 |
+ writemsg(_("!!! No known mirror by the name: %s\n") % (mirrorname)) |
18 |
else: |
19 |
writemsg(_("Invalid mirror definition in SRC_URI:\n"), noiselevel=-1) |
20 |
writemsg(" %s\n" % (myuri), noiselevel=-1) |
21 |
-- |
22 |
1.8.3.2 |