From patchwork Thu Jun 5 13:55:31 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: 4305531 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 57B8FBEEA7 for ; Thu, 5 Jun 2014 13:56:02 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 99F052011D for ; Thu, 5 Jun 2014 13:56:01 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id BDE3D2018B for ; Thu, 5 Jun 2014 13:56:00 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751634AbaFENzw (ORCPT ); Thu, 5 Jun 2014 09:55:52 -0400 Received: from mail-ig0-f174.google.com ([209.85.213.174]:52660 "EHLO mail-ig0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751380AbaFENzw (ORCPT ); Thu, 5 Jun 2014 09:55:52 -0400 Received: by mail-ig0-f174.google.com with SMTP id h3so7571491igd.7 for ; Thu, 05 Jun 2014 06:55:51 -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=810YV+aa4AhYon6l5oh6Oo+4Gy1Sd0ST73zvUOnOnpw=; b=XCNj0cSABgbDsH/fZwJ8WRiosaWcko/1KvkoDepKkkVpjOziUTxatbElV7amYH0ta7 aXh+xY09VTIO42sTnd+PPiMWyBjDa2u3lldRAJWWtlT39/1YpK6SI8hYRleCV0mhzsWv 8tIsUPxnQXbaz5gr7vQIs61rGm3KPHA/a3HIOJboduSzZlDYx49wvllqbq6akUo4MLEy qPrYM4nZtLCDBg63+LKPfvwXr4gnAhgMATpH7WitebwmoCuHSpQMgHZYS+jG77tMgaMw pHmIu6tjSGYTr4fF/SOUOU6plEnLxeC6E2Nt8Pmy2HWR+fsEEJszf3oFu8DhrtV01urf tTLw== X-Gm-Message-State: ALoCoQmf2Bfz2+2BmcHY4jmisK5TMhtbynJWXafRJxzpQ/e8vKKrsdo0oHvcYBlJFzl3VIf66oaD X-Received: by 10.50.80.50 with SMTP id o18mr20705472igx.40.1401976551712; Thu, 05 Jun 2014 06:55:51 -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 c8sm30697482igx.8.2014.06.05.06.55.51 for (version=TLSv1 cipher=RC4-SHA bits=128/128); Thu, 05 Jun 2014 06:55:51 -0700 (PDT) From: Weston Andros Adamson To: bfields@fieldses.org Cc: linux-nfs@vger.kernel.org, Weston Andros Adamson Subject: [PATCH pynfs v2 03/16] 4.1 server: avoid traceback in DS disconnect() Date: Thu, 5 Jun 2014 09:55:31 -0400 Message-Id: <1401976544-36374-4-git-send-email-dros@primarydata.com> X-Mailer: git-send-email 1.8.5.2 (Apple Git-48) In-Reply-To: <1401976544-36374-1-git-send-email-dros@primarydata.com> References: <1401976544-36374-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 aca07ee..435ddd2 100644 --- a/nfs4.1/dataserver.py +++ b/nfs4.1/dataserver.py @@ -59,7 +59,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