avocado.utils.network: Optimize is_port_free a bit
We do quite a few loops, let's use boolean instead of string comparison.
Signed-off-by: NLukáš Doktor <ldoktor@redhat.com>
Showing
想要评论请 注册 或 登录
We do quite a few loops, let's use boolean instead of string comparison.
Signed-off-by: NLukáš Doktor <ldoktor@redhat.com>