Return-Path: Received: from mx3-rdu2.redhat.com ([66.187.233.73]:45056 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1727331AbeGTKAm (ORCPT ); Fri, 20 Jul 2018 06:00:42 -0400 From: jiyin@redhat.com To: bfields@redhat.com Cc: linux-nfs@vger.kernel.org, "Jianhong.Yin" Subject: [PATCH 2/2] pynfs: python3 support plan: exec -> exec() Date: Fri, 20 Jul 2018 17:13:11 +0800 Message-Id: <20180720091311.28569-2-jiyin@redhat.com> In-Reply-To: <20180720091311.28569-1-jiyin@redhat.com> References: <20180720091311.28569-1-jiyin@redhat.com> Sender: linux-nfs-owner@vger.kernel.org List-ID: From: "Jianhong.Yin" Signed-off-by: Jianhong Yin --- nfs4.1/nfs4commoncode.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nfs4.1/nfs4commoncode.py b/nfs4.1/nfs4commoncode.py index cadd237..3c9c811 100644 --- a/nfs4.1/nfs4commoncode.py +++ b/nfs4.1/nfs4commoncode.py @@ -190,8 +190,8 @@ class %(CompoundState)s(object): ''' # Create normal code -exec code_str % _d +exec(code_str % _d) # Create callback code -exec code_str % _cb_d +exec(code_str % _cb_d) -- 2.17.1