projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
01ff65a
)
For bug #172571, use socket.AF_INET as the default family for socket.getaddrinfo().
author
Zac Medico
<zmedico@gentoo.org>
Wed, 28 Mar 2007 22:40:05 +0000
(22:40 -0000)
committer
Zac Medico
<zmedico@gentoo.org>
Wed, 28 Mar 2007 22:40:05 +0000
(22:40 -0000)
svn path=/main/trunk/; revision=6321
pym/emerge/__init__.py
patch
|
blob
|
history
diff --git
a/pym/emerge/__init__.py
b/pym/emerge/__init__.py
index d41d9af0b81a3f9ef304b5f6994eeb0837814ef1..e872f54435d9bcbb8eb3d12d54ed87a81dd00c10 100644
(file)
--- a/
pym/emerge/__init__.py
+++ b/
pym/emerge/__init__.py
@@
-4034,7
+4034,7
@@
def action_sync(settings, trees, mtimedb, myopts, myaction):
all_rsync_opts = set(rsync_opts)
all_rsync_opts.update(
settings.get("PORTAGE_RSYNC_EXTRA_OPTS","").split())
- family = socket.AF_
UNSPEC
+ family = socket.AF_
INET
if "-4" in all_rsync_opts or "--ipv4" in all_rsync_opts:
family = socket.AF_INET
elif socket.has_ipv6 and \