projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3e4feb0
)
Show hostname when getaddrinfo fails.
v2.1.9.17
author
Zac Medico
<zmedico@gentoo.org>
Wed, 13 Oct 2010 15:57:53 +0000
(08:57 -0700)
committer
Zac Medico
<zmedico@gentoo.org>
Wed, 13 Oct 2010 15:59:40 +0000
(08:59 -0700)
pym/_emerge/actions.py
patch
|
blob
|
history
diff --git
a/pym/_emerge/actions.py
b/pym/_emerge/actions.py
index fb6647cfdcdbfa12a20aab3aeda37923b743fad2..83b7bb9f50951ca615f6dcee073c8520e62840f3 100644
(file)
--- a/
pym/_emerge/actions.py
+++ b/
pym/_emerge/actions.py
@@
-2092,7
+2092,7
@@
def action_sync(settings, trees, mtimedb, myopts, myaction):
addrinfos = socket.getaddrinfo(hostname, None,
family, socket.SOCK_STREAM)
except socket.error as e:
- writemsg("!!! getaddrinfo failed
: %s\n" % (e,
), noiselevel=-1)
+ writemsg("!!! getaddrinfo failed
for '%s': %s\n" % (hostname, e
), noiselevel=-1)
# With some configurations we need to use the plain hostname
# rather than try to resolve the ip addresses (bug #340817).
uris.append(syncuri)