From patchwork Wed Jun 4 21:01:52 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Weston Andros Adamson X-Patchwork-Id: 4296891 Return-Path: X-Original-To: patchwork-linux-nfs@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 576B8BEEA7 for ; Wed, 4 Jun 2014 21:02:50 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 89E0420251 for ; Wed, 4 Jun 2014 21:02:49 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 7823F20218 for ; Wed, 4 Jun 2014 21:02:48 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752059AbaFDVCe (ORCPT ); Wed, 4 Jun 2014 17:02:34 -0400 Received: from mail-ig0-f182.google.com ([209.85.213.182]:56376 "EHLO mail-ig0-f182.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752005AbaFDVCR (ORCPT ); Wed, 4 Jun 2014 17:02:17 -0400 Received: by mail-ig0-f182.google.com with SMTP id a13so1548763igq.9 for ; Wed, 04 Jun 2014 14:02:17 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=lZ0ky8Pr785qjUPFaX66hTpLI5G0AOSwuGvrZaNmeUs=; b=OQ23AO/8KbN6Fh5S1XgcSby7izIn/em4h7bgBsqyIZyiD1+ypWTcsDM4Lc5cFSHE+b sAAHNyZ/9jWgo0OQmSkWecPNkcQT4evB9+W9uRL4XLsOdj4hwHov4t3qkiJWwovSBray X8CHnMWo5yfop4Wty+txsPwHPe1KVz/hmI3crnAmArz4EX/lU8BpryLnKfGo8R2wKwnf /hFcvxrieXhtv3Yw2RMcUa1Lm5TG3RHMONPHM06gyGcN1qSr1ixO5etUO3POvYGpXMYh XqxFB7oJUIiFg9YDLDdSfsaZ43IfU3iDnv7B0lyos60jDSYBKfHrUY6vO5C287vAvwRQ BDRw== X-Gm-Message-State: ALoCoQl+1fPjxoADfPnBhhmhG6sLGqt2ArbYWH3FiUwG5U1ta+5arUDZCPKhVLFE1W3DYPy6z8Cc X-Received: by 10.50.79.164 with SMTP id k4mr11436248igx.3.1401915737145; Wed, 04 Jun 2014 14:02:17 -0700 (PDT) Received: from gavrio-wifi.robotsandstuff.fake (c-98-209-19-144.hsd1.mi.comcast.net. [98.209.19.144]) by mx.google.com with ESMTPSA id qh3sm47684584igb.17.2014.06.04.14.02.15 for (version=TLSv1 cipher=RC4-SHA bits=128/128); Wed, 04 Jun 2014 14:02:16 -0700 (PDT) From: Weston Andros Adamson To: bfields@fieldses.org Cc: linux-nfs@vger.kernel.org, Weston Andros Adamson Subject: [PATCH pynfs 04/17] 4.1 server: avoid traceback in DS disconnect() Date: Wed, 4 Jun 2014 17:01:52 -0400 Message-Id: <1401915726-29092-5-git-send-email-dros@primarydata.com> X-Mailer: git-send-email 1.8.5.2 (Apple Git-48) In-Reply-To: <1401915726-29092-1-git-send-email-dros@primarydata.com> References: <1401915726-29092-1-git-send-email-dros@primarydata.com> Sender: linux-nfs-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-nfs@vger.kernel.org X-Spam-Status: No, score=-7.5 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Session objects have no destroy method. Signed-off-by: Weston Andros Adamson --- nfs4.1/dataserver.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nfs4.1/dataserver.py b/nfs4.1/dataserver.py index b8dd903..175dd95 100644 --- a/nfs4.1/dataserver.py +++ b/nfs4.1/dataserver.py @@ -58,7 +58,7 @@ class DataServer(object): self.make_root() def disconnect(self): - self.sess.destroy() + pass def execute(self, ops, exceptions=[], delay=5, maxretries=3): """ execute the NFS call