summaryrefslogtreecommitdiffstats
path: root/scripts/argparse.py
diff options
context:
space:
mode:
authorKnut Omang2017-08-07 12:58:40 +0200
committerDaniel P. Berrange2017-10-16 17:55:08 +0200
commit89382c3de5bc2250b1dad1c42c1f73d5ec6febda (patch)
treea8a745d1ce6554d2ab2163ca8c838a63448bde58 /scripts/argparse.py
parentMerge remote-tracking branch 'remotes/ericb/tags/pull-nbd-2017-10-14' into st... (diff)
downloadqemu-89382c3de5bc2250b1dad1c42c1f73d5ec6febda.tar.gz
qemu-89382c3de5bc2250b1dad1c42c1f73d5ec6febda.tar.xz
qemu-89382c3de5bc2250b1dad1c42c1f73d5ec6febda.zip
sockets: factor out a new try_bind() function
A refactoring step to prepare for the problem exposed by the test-listen test in the previous commit. Simplify and reorganize the IPv6 specific extra measures and move it out of the for loop to increase code readability. No semantic changes. Signed-off-by: Knut Omang <knut.omang@oracle.com> Reviewed-by: Daniel P. Berrange <berrange@redhat.com> Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
Diffstat (limited to 'scripts/argparse.py')
0 files changed, 0 insertions, 0 deletions