Return-Path: Received: from mx3-rdu2.redhat.com ([66.187.233.73]:54840 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S2388439AbeGXIji (ORCPT ); Tue, 24 Jul 2018 04:39:38 -0400 From: jiyin@redhat.com To: bfields@redhat.com Cc: linux-nfs@vger.kernel.org, "Jianhong.Yin" Subject: [PATCH 20/24] pynfs: python3 support plan: fix 'dict' has no attribute 'iteritems' Date: Tue, 24 Jul 2018 15:33:38 +0800 Message-Id: <20180724073342.5738-20-jiyin@redhat.com> In-Reply-To: <20180724073342.5738-1-jiyin@redhat.com> References: <20180724073342.5738-1-jiyin@redhat.com> Sender: linux-nfs-owner@vger.kernel.org List-ID: From: "Jianhong.Yin" Signed-off-by: Jianhong Yin --- nfs4.0/lib/rpc/rpc.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nfs4.0/lib/rpc/rpc.py b/nfs4.0/lib/rpc/rpc.py index 93f20dc..96d9aa7 100644 --- a/nfs4.0/lib/rpc/rpc.py +++ b/nfs4.0/lib/rpc/rpc.py @@ -519,7 +519,7 @@ class RPCServer(Server): for secname, sectype in {'none': AUTH_NONE, 'sys': AUTH_SYS, 'gss': RPCSEC_GSS, - }.iteritems(): + }.items(): if secname in supported: self.security[sectype] = supported[secname]() -- 2.17.1