From patchwork Thu Oct 11 12:30:18 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Jiri Zupka X-Patchwork-Id: 1581881 Return-Path: X-Original-To: patchwork-kvm@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork2.kernel.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by patchwork2.kernel.org (Postfix) with ESMTP id 976CFDFABE for ; Thu, 11 Oct 2012 12:31:01 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753249Ab2JKMa6 (ORCPT ); Thu, 11 Oct 2012 08:30:58 -0400 Received: from mx1.redhat.com ([209.132.183.28]:39432 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752698Ab2JKMa5 (ORCPT ); Thu, 11 Oct 2012 08:30:57 -0400 Received: from int-mx12.intmail.prod.int.phx2.redhat.com (int-mx12.intmail.prod.int.phx2.redhat.com [10.5.11.25]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id q9BCUTMo002918 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Thu, 11 Oct 2012 08:30:35 -0400 Received: from jzupka-pc.local.com (vpn1-6-73.ams2.redhat.com [10.36.6.73]) by int-mx12.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id q9BCUKku016797; Thu, 11 Oct 2012 08:30:24 -0400 From: =?UTF-8?q?Ji=C5=99=C3=AD=20=C5=BDupka?= To: autotest@test.kernel.org, kvm@vger.kernel.org, kvm-autotest@redhat.com, lmr@redhat.com, ldoktor@redhat.com, jzupka@redhat.com Subject: [PATCH] virt: Repairs Migration_multi_host_fd test Pylint correction. Date: Thu, 11 Oct 2012 14:30:18 +0200 Message-Id: <1349958618-7854-1-git-send-email-jzupka@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.68 on 10.5.11.25 Sender: kvm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: kvm@vger.kernel.org Pylint correction makes migration_multi_host_fd test dysfunctional. pull-request: https://github.com/autotest/virt-test/pull/55 Signed-off-by: Ji?í Župka --- 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))