[PATCH] virt: Repairs Migration_multi_host_fd test Pylint correction.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Pylint correction makes migration_multi_host_fd test dysfunctional.

pull-request: https://github.com/autotest/virt-test/pull/55

Signed-off-by: Jiří Župka <jzupka@xxxxxxxxxx>
---
 kvm/tests/migration_multi_host_fd.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/kvm/tests/migration_multi_host_fd.py b/kvm/tests/migration_multi_host_fd.py
index ec9210a..7f08205 100644
--- a/kvm/tests/migration_multi_host_fd.py
+++ b/kvm/tests/migration_multi_host_fd.py
@@ -105,7 +105,7 @@ def run_migration_multi_host_fd(test, params, env):
                 s = self._create_server(mig_port)
                 try:
                     conn, _ = s.accept()
-                    fd = s.fileno()
+                    fd = conn.fileno()
                     logging.debug("File descrtiptor %d used for"
                                   " migration." % (fd))
 
-- 
1.7.7.6

--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux