1 Return-Path: <amdragon@mit.edu>
\r
2 X-Original-To: notmuch@notmuchmail.org
\r
3 Delivered-To: notmuch@notmuchmail.org
\r
4 Received: from localhost (localhost [127.0.0.1])
\r
5 by olra.theworths.org (Postfix) with ESMTP id B0DA7431FC2
\r
6 for <notmuch@notmuchmail.org>; Thu, 17 May 2012 21:13:54 -0700 (PDT)
\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org
\r
11 X-Spam-Status: No, score=-0.7 tagged_above=-999 required=5
\r
12 tests=[RCVD_IN_DNSWL_LOW=-0.7] autolearn=disabled
\r
13 Received: from olra.theworths.org ([127.0.0.1])
\r
14 by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)
\r
15 with ESMTP id o1EvSH-N1yBr for <notmuch@notmuchmail.org>;
\r
16 Thu, 17 May 2012 21:13:53 -0700 (PDT)
\r
17 Received: from dmz-mailsec-scanner-3.mit.edu (DMZ-MAILSEC-SCANNER-3.MIT.EDU
\r
19 by olra.theworths.org (Postfix) with ESMTP id D7F69431FAE
\r
20 for <notmuch@notmuchmail.org>; Thu, 17 May 2012 21:13:52 -0700 (PDT)
\r
21 X-AuditID: 1209190e-b7fd86d0000008b4-3b-4fb5cc8000ce
\r
22 Received: from mailhub-auth-4.mit.edu ( [18.7.62.39])
\r
23 by dmz-mailsec-scanner-3.mit.edu (Symantec Messaging Gateway) with SMTP
\r
24 id 2D.37.02228.08CC5BF4; Fri, 18 May 2012 00:13:52 -0400 (EDT)
\r
25 Received: from outgoing.mit.edu (OUTGOING-AUTH.MIT.EDU [18.7.22.103])
\r
26 by mailhub-auth-4.mit.edu (8.13.8/8.9.2) with ESMTP id q4I4Dq1x009479;
\r
27 Fri, 18 May 2012 00:13:52 -0400
\r
28 Received: from drake.mit.edu
\r
29 (209-6-116-242.c3-0.arl-ubr1.sbo-arl.ma.cable.rcn.com
\r
30 [209.6.116.242]) (authenticated bits=0)
\r
31 (User authenticated as amdragon@ATHENA.MIT.EDU)
\r
32 by outgoing.mit.edu (8.13.6/8.12.4) with ESMTP id q4I4DomE026789
\r
33 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=NOT);
\r
34 Fri, 18 May 2012 00:13:51 -0400 (EDT)
\r
35 Received: from amthrax by drake.mit.edu with local (Exim 4.77)
\r
36 (envelope-from <amdragon@mit.edu>)
\r
37 id 1SVEZa-0000zC-Q0; Fri, 18 May 2012 00:13:50 -0400
\r
38 From: Austin Clements <amdragon@MIT.EDU>
\r
39 To: notmuch@notmuchmail.org
\r
40 Subject: [PATCH 6/9] python: Update Database.get_directory documentation
\r
41 Date: Fri, 18 May 2012 00:13:39 -0400
\r
42 Message-Id: <1337314423-3702-7-git-send-email-amdragon@mit.edu>
\r
43 X-Mailer: git-send-email 1.7.10
\r
44 In-Reply-To: <1337314423-3702-1-git-send-email-amdragon@mit.edu>
\r
45 References: <1337314423-3702-1-git-send-email-amdragon@mit.edu>
\r
46 X-Brightmail-Tracker:
\r
47 H4sIAAAAAAAAA+NgFtrEIsWRmVeSWpSXmKPExsUixG6nrttwZqu/wY41QhbXb85kdmD0eLbq
\r
48 FnMAYxSXTUpqTmZZapG+XQJXxp/OXWwFTzkrHl/4xdTAuJe9i5GTQ0LARKL1yxEoW0ziwr31
\r
49 bF2MXBxCAvsYJXrm97NDOBsYJRpPbGKBcO4zSbz8dJ0VwpnFKPH+7WQ2kH42AQ2JbfuXM4LY
\r
50 IgLSEjvvzgYq4uBgFlCT+NOlAhIWFvCQOHv2FiuIzSKgKvFj0z5mEJtXwF5iw5k7rBBnyEs8
\r
51 vd/HBtLKKeAgMe14NEhYCKjk34VmlgmM/AsYGVYxyqbkVunmJmbmFKcm6xYnJ+blpRbpGuvl
\r
52 ZpbopaaUbmIEBQ2nJN8Oxq8HlQ4xCnAwKvHw7piz1V+INbGsuDL3EKMkB5OSKO/3k0AhvqT8
\r
53 lMqMxOKM+KLSnNTiQ4wSHMxKIryy3UA53pTEyqrUonyYlDQHi5I4r5rWOz8hgfTEktTs1NSC
\r
54 1CKYrAwHh5IE76bTQI2CRanpqRVpmTklCGkmDk6Q4TxAwzNBaniLCxJzizPTIfKnGBWlxHl3
\r
55 gyQEQBIZpXlwvbCofsUoDvSKMO8EkCoeYEKA634FNJgJaHBZ7iaQwSWJCCmpBkbf+Tnfv/GL
\r
56 v9ywR4jF5bi7RM6kv5oqr9SruZTsZlv+0d8+52LwxEnrZV91X3aoZlDbWHUva1+Y8sVer4DO
\r
57 JNeYybVvjheH2bP7tJfsVXS8MDemQ2odZxv/+V9t15POdquo/3TkNtl36Pb1vl4J/4f9Qe9T
\r
58 b36buOfbdDvGHOmurynv4/8qyiqxFGckGmoxFxUnAgCCp9eLxQIAAA==
\r
59 X-BeenThere: notmuch@notmuchmail.org
\r
60 X-Mailman-Version: 2.1.13
\r
62 List-Id: "Use and development of the notmuch mail system."
\r
63 <notmuch.notmuchmail.org>
\r
64 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,
\r
65 <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>
\r
66 List-Archive: <http://notmuchmail.org/pipermail/notmuch>
\r
67 List-Post: <mailto:notmuch@notmuchmail.org>
\r
68 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>
\r
69 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,
\r
70 <mailto:notmuch-request@notmuchmail.org?subject=subscribe>
\r
71 X-List-Received-Date: Fri, 18 May 2012 04:13:55 -0000
\r
73 notmuch_database_get_directory no longer returns an error for
\r
74 read-only databases, so remove ReadOnlyDatabaseError from the list of
\r
75 get_directory exceptions.
\r
77 bindings/python/notmuch/database.py | 3 ---
\r
78 1 file changed, 3 deletions(-)
\r
80 diff --git a/bindings/python/notmuch/database.py b/bindings/python/notmuch/database.py
\r
81 index 797554d..ff89818 100644
\r
82 --- a/bindings/python/notmuch/database.py
\r
83 +++ b/bindings/python/notmuch/database.py
\r
84 @@ -346,7 +346,6 @@ class Database(object):
\r
86 def get_directory(self, path):
\r
87 """Returns a :class:`Directory` of path,
\r
88 - (creating it if it does not exist(?))
\r
90 :param path: An unicode string containing the path relative to the path
\r
91 of database (see :meth:`get_path`), or else should be an absolute
\r
92 @@ -354,8 +353,6 @@ class Database(object):
\r
93 :returns: :class:`Directory` or raises an exception.
\r
94 :raises: :exc:`FileError` if path is not relative database or absolute
\r
95 with initial components same as database.
\r
96 - :raises: :exc:`ReadOnlyDatabaseError` if the database has not been
\r
97 - opened in read-write mode
\r
99 self._assert_db_is_initialized()
\r