Return-Path: X-Original-To: notmuch@notmuchmail.org Delivered-To: notmuch@notmuchmail.org Received: from localhost (localhost [127.0.0.1]) by olra.theworths.org (Postfix) with ESMTP id B0DA7431FC2 for ; Thu, 17 May 2012 21:13:54 -0700 (PDT) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org X-Spam-Flag: NO X-Spam-Score: -0.7 X-Spam-Level: X-Spam-Status: No, score=-0.7 tagged_above=-999 required=5 tests=[RCVD_IN_DNSWL_LOW=-0.7] autolearn=disabled Received: from olra.theworths.org ([127.0.0.1]) by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id o1EvSH-N1yBr for ; Thu, 17 May 2012 21:13:53 -0700 (PDT) Received: from dmz-mailsec-scanner-3.mit.edu (DMZ-MAILSEC-SCANNER-3.MIT.EDU [18.9.25.14]) by olra.theworths.org (Postfix) with ESMTP id D7F69431FAE for ; Thu, 17 May 2012 21:13:52 -0700 (PDT) X-AuditID: 1209190e-b7fd86d0000008b4-3b-4fb5cc8000ce Received: from mailhub-auth-4.mit.edu ( [18.7.62.39]) by dmz-mailsec-scanner-3.mit.edu (Symantec Messaging Gateway) with SMTP id 2D.37.02228.08CC5BF4; Fri, 18 May 2012 00:13:52 -0400 (EDT) Received: from outgoing.mit.edu (OUTGOING-AUTH.MIT.EDU [18.7.22.103]) by mailhub-auth-4.mit.edu (8.13.8/8.9.2) with ESMTP id q4I4Dq1x009479; Fri, 18 May 2012 00:13:52 -0400 Received: from drake.mit.edu (209-6-116-242.c3-0.arl-ubr1.sbo-arl.ma.cable.rcn.com [209.6.116.242]) (authenticated bits=0) (User authenticated as amdragon@ATHENA.MIT.EDU) by outgoing.mit.edu (8.13.6/8.12.4) with ESMTP id q4I4DomE026789 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=NOT); Fri, 18 May 2012 00:13:51 -0400 (EDT) Received: from amthrax by drake.mit.edu with local (Exim 4.77) (envelope-from ) id 1SVEZa-0000zC-Q0; Fri, 18 May 2012 00:13:50 -0400 From: Austin Clements To: notmuch@notmuchmail.org Subject: [PATCH 6/9] python: Update Database.get_directory documentation Date: Fri, 18 May 2012 00:13:39 -0400 Message-Id: <1337314423-3702-7-git-send-email-amdragon@mit.edu> X-Mailer: git-send-email 1.7.10 In-Reply-To: <1337314423-3702-1-git-send-email-amdragon@mit.edu> References: <1337314423-3702-1-git-send-email-amdragon@mit.edu> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFtrEIsWRmVeSWpSXmKPExsUixG6nrttwZqu/wY41QhbXb85kdmD0eLbq FnMAYxSXTUpqTmZZapG+XQJXxp/OXWwFTzkrHl/4xdTAuJe9i5GTQ0LARKL1yxEoW0ziwr31 bF2MXBxCAvsYJXrm97NDOBsYJRpPbGKBcO4zSbz8dJ0VwpnFKPH+7WQ2kH42AQ2JbfuXM4LY IgLSEjvvzgYq4uBgFlCT+NOlAhIWFvCQOHv2FiuIzSKgKvFj0z5mEJtXwF5iw5k7rBBnyEs8 vd/HBtLKKeAgMe14NEhYCKjk34VmlgmM/AsYGVYxyqbkVunmJmbmFKcm6xYnJ+blpRbpGuvl ZpbopaaUbmIEBQ2nJN8Oxq8HlQ4xCnAwKvHw7piz1V+INbGsuDL3EKMkB5OSKO/3k0AhvqT8 lMqMxOKM+KLSnNTiQ4wSHMxKIryy3UA53pTEyqrUonyYlDQHi5I4r5rWOz8hgfTEktTs1NSC 1CKYrAwHh5IE76bTQI2CRanpqRVpmTklCGkmDk6Q4TxAwzNBaniLCxJzizPTIfKnGBWlxHl3 gyQEQBIZpXlwvbCofsUoDvSKMO8EkCoeYEKA634FNJgJaHBZ7iaQwSWJCCmpBkbf+Tnfv/GL v9ywR4jF5bi7RM6kv5oqr9SruZTsZlv+0d8+52LwxEnrZV91X3aoZlDbWHUva1+Y8sVer4DO JNeYybVvjheH2bP7tJfsVXS8MDemQ2odZxv/+V9t15POdquo/3TkNtl36Pb1vl4J/4f9Qe9T b36buOfbdDvGHOmurynv4/8qyiqxFGckGmoxFxUnAgCCp9eLxQIAAA== X-BeenThere: notmuch@notmuchmail.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: "Use and development of the notmuch mail system." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 18 May 2012 04:13:55 -0000 notmuch_database_get_directory no longer returns an error for read-only databases, so remove ReadOnlyDatabaseError from the list of get_directory exceptions. --- bindings/python/notmuch/database.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/bindings/python/notmuch/database.py b/bindings/python/notmuch/database.py index 797554d..ff89818 100644 --- a/bindings/python/notmuch/database.py +++ b/bindings/python/notmuch/database.py @@ -346,7 +346,6 @@ class Database(object): def get_directory(self, path): """Returns a :class:`Directory` of path, - (creating it if it does not exist(?)) :param path: An unicode string containing the path relative to the path of database (see :meth:`get_path`), or else should be an absolute @@ -354,8 +353,6 @@ class Database(object): :returns: :class:`Directory` or raises an exception. :raises: :exc:`FileError` if path is not relative database or absolute with initial components same as database. - :raises: :exc:`ReadOnlyDatabaseError` if the database has not been - opened in read-write mode """ self._assert_db_is_initialized() -- 1.7.10