1 Return-Path: <teythoon@jade-hamburg.de>
\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 635DA429E34
\r
6 for <notmuch@notmuchmail.org>; Wed, 14 Dec 2011 02:58:58 -0800 (PST)
\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org
\r
11 X-Spam-Status: No, score=0 tagged_above=-999 required=5 tests=[none]
\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 nz0zWTEp2lTw for <notmuch@notmuchmail.org>;
\r
16 Wed, 14 Dec 2011 02:58:56 -0800 (PST)
\r
17 Received: from mail.cryptobitch.de (cryptobitch.de [88.198.7.68])
\r
18 (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
\r
19 (No client certificate requested)
\r
20 by olra.theworths.org (Postfix) with ESMTPS id 3818C429E37
\r
21 for <notmuch@notmuchmail.org>; Wed, 14 Dec 2011 02:58:55 -0800 (PST)
\r
22 Received: from mail.jade-hamburg.de (unknown [85.183.11.228])
\r
23 (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
\r
24 (No client certificate requested)
\r
25 by mail.cryptobitch.de (Postfix) with ESMTPSA id BD4B450F615
\r
26 for <notmuch@notmuchmail.org>; Wed, 14 Dec 2011 11:58:53 +0100 (CET)
\r
27 Received: by mail.jade-hamburg.de (Postfix, from userid 401)
\r
28 id 407B0DF2A1; Wed, 14 Dec 2011 11:58:53 +0100 (CET)
\r
29 Received: from thinkbox.jade-hamburg.de (unknown [85.183.11.228])
\r
30 (using TLSv1 with cipher AES256-SHA (256/256 bits))
\r
31 (No client certificate requested) (Authenticated sender: teythoon)
\r
32 by mail.jade-hamburg.de (Postfix) with ESMTPSA id AA7D8DF2A2;
\r
33 Wed, 14 Dec 2011 11:58:47 +0100 (CET)
\r
34 Received: from teythoon by thinkbox.jade-hamburg.de with local (Exim 4.77)
\r
35 (envelope-from <teythoon@thinkbox.jade-hamburg.de>)
\r
36 id 1RamXr-0004MY-KH; Wed, 14 Dec 2011 11:58:43 +0100
\r
37 From: Justus Winter <4winter@informatik.uni-hamburg.de>
\r
38 To: notmuch@notmuchmail.org
\r
39 Subject: [PATCH 3/7] py3k: All strings are unicode strings in py3k
\r
40 Date: Wed, 14 Dec 2011 11:58:21 +0100
\r
42 <1323860305-15802-4-git-send-email-4winter@informatik.uni-hamburg.de>
\r
43 X-Mailer: git-send-email 1.7.7.3
\r
45 <1323860305-15802-1-git-send-email-4winter@informatik.uni-hamburg.de>
\r
47 <1323860305-15802-1-git-send-email-4winter@informatik.uni-hamburg.de>
\r
48 X-BeenThere: notmuch@notmuchmail.org
\r
49 X-Mailman-Version: 2.1.13
\r
51 List-Id: "Use and development of the notmuch mail system."
\r
52 <notmuch.notmuchmail.org>
\r
53 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,
\r
54 <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>
\r
55 List-Archive: <http://notmuchmail.org/pipermail/notmuch>
\r
56 List-Post: <mailto:notmuch@notmuchmail.org>
\r
57 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>
\r
58 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,
\r
59 <mailto:notmuch-request@notmuchmail.org?subject=subscribe>
\r
60 X-List-Received-Date: Wed, 14 Dec 2011 10:58:58 -0000
\r
63 bindings/python/notmuch/globals.py | 4 ++--
\r
64 1 files changed, 2 insertions(+), 2 deletions(-)
\r
66 diff --git a/bindings/python/notmuch/globals.py b/bindings/python/notmuch/globals.py
\r
67 index 54a49b2..99e6a10 100644
\r
68 --- a/bindings/python/notmuch/globals.py
\r
69 +++ b/bindings/python/notmuch/globals.py
\r
70 @@ -51,7 +51,7 @@ class Status(Enum):
\r
71 """Get a (unicode) string representation of a notmuch_status_t value."""
\r
72 # define strings for custom error messages
\r
73 if status == STATUS.NOT_INITIALIZED:
\r
74 - return u"Operation on uninitialized object impossible."
\r
75 + return "Operation on uninitialized object impossible."
\r
76 return unicode(Status._status2str(status))
\r
78 STATUS = Status(['SUCCESS',
\r
79 @@ -142,7 +142,7 @@ class NotmuchError(Exception):
\r
80 elif self.status is not None:
\r
81 return STATUS.status2str(self.status)
\r
83 - return u'Unknown error'
\r
84 + return 'Unknown error'
\r
87 # List of Subclassed exceptions that correspond to STATUS values and are
\r