From e09581b74fed45c49b1e4cf5303f698a531259a7 Mon Sep 17 00:00:00 2001 From: Jaime Velasco Juan Date: Mon, 4 Jul 2016 19:49:31 +0100 Subject: [PATCH] [PATCH] Fix typo in Message.maildir_flags_to_tags --- 1c/a05d3e135ab7bcd276c60f91a252ee1574570e | 93 +++++++++++++++++++++++ 1 file changed, 93 insertions(+) create mode 100644 1c/a05d3e135ab7bcd276c60f91a252ee1574570e diff --git a/1c/a05d3e135ab7bcd276c60f91a252ee1574570e b/1c/a05d3e135ab7bcd276c60f91a252ee1574570e new file mode 100644 index 000000000..bb649695e --- /dev/null +++ b/1c/a05d3e135ab7bcd276c60f91a252ee1574570e @@ -0,0 +1,93 @@ +Return-Path: +X-Original-To: notmuch@notmuchmail.org +Delivered-To: notmuch@notmuchmail.org +Received: from localhost (localhost [127.0.0.1]) + by arlo.cworth.org (Postfix) with ESMTP id 5C2016DE01EE + for ; Mon, 4 Jul 2016 11:49:46 -0700 (PDT) +X-Virus-Scanned: Debian amavisd-new at cworth.org +X-Spam-Flag: NO +X-Spam-Score: -0.82 +X-Spam-Level: +X-Spam-Status: No, score=-0.82 tagged_above=-999 required=5 + tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, + FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=-0.01, + RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001] autolearn=disabled +Received: from arlo.cworth.org ([127.0.0.1]) + by localhost (arlo.cworth.org [127.0.0.1]) (amavisd-new, port 10024) + with ESMTP id caLXwhJG1tMV for ; + Mon, 4 Jul 2016 11:49:38 -0700 (PDT) +Received: from mail-wm0-f67.google.com (mail-wm0-f67.google.com + [74.125.82.67]) by arlo.cworth.org (Postfix) with ESMTPS id 376C36DE0159 for + ; Mon, 4 Jul 2016 11:49:37 -0700 (PDT) +Received: by mail-wm0-f67.google.com with SMTP id 187so23557273wmz.1 + for ; Mon, 04 Jul 2016 11:49:37 -0700 (PDT) +DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; + h=from:to:cc:subject:date:message-id; + bh=fIj+jocic6RDtsIlU7JDj+E15tX+o2LptOpGui6SYlY=; + b=EHEBXZuzaWOzNkvSCAmAeFpnQwZuqMKH2glMH7LST5tqAEEAVmm0LSWzPpYS4N2JKp + TkmkOamsyVd0PECw/EeFSpIq3gEXR/P27tTUFYjE5Ps/GqyFVCMMZQWwmwzx+LqMXftN + Ykch/fSv8AGOZe4NUlLfex01Po0Pwxx1Y7p8UuCtDi48aeaNy4D/9VNJw8XBxh2vXnHL + 5GP0L70fSTkbOosLkGILTspwmAEHUR0mJspZnpG3unJGYgCjWY7PGApZqA07LLtgPz4c + mY9hroc3kyX6vquy7vlj8ZKj/SOw1O7+BYZ1XZQa0CJ3SEj2dtzrMSlyQc2cj5NvnK6J + essg== +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; + bh=fIj+jocic6RDtsIlU7JDj+E15tX+o2LptOpGui6SYlY=; + b=Rf9GSZAswfB3g6zhLBqA/OeltgPGT+Cc09wrKo0gmy0WrEiqOdZdGBRcRiWdq1lGkE + fdR63kp7cbA9ryXZqVGVLixYullWe1E+0BndHOpDZgtHW28ZnPV9XdWQGr19yU/CE7YI + nDBAN4eT97YMfitw8iLGjwDaxVS6Fyk+2upOdCbIEG4iMd8lazCNo9sMnUfo3RMfHfxh + oGitJvTC5Cw5tly41I5bJtMRjlrAmodUFthQPo67tKoFY2Q/1TOOqx+HC2kVWsiJvk5u + lNYYSVx5asvXXwde/IV4b9ZWOUS+mGtjHW+nKAhUQV9ijs3i8FvnmIdaUQmdmVKexloe + yczA== +X-Gm-Message-State: + ALyK8tKSN9MZ3CpPuLkp6YXNoVO425HRwuAkW7um52L2zRX7j17VkU/p4c/2yYTLU3EFbA== +X-Received: by 10.194.157.10 with SMTP id wi10mr11607165wjb.159.1467658174923; + Mon, 04 Jul 2016 11:49:34 -0700 (PDT) +Received: from localhost ([46.25.186.19]) + by smtp.gmail.com with ESMTPSA id k6sm4582252wjz.28.2016.07.04.11.49.33 + (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); + Mon, 04 Jul 2016 11:49:34 -0700 (PDT) +From: Jaime Velasco Juan +To: notmuch@notmuchmail.org +Cc: Jaime Velasco Juan +Subject: [PATCH] Fix typo in Message.maildir_flags_to_tags +Date: Mon, 4 Jul 2016 19:49:31 +0100 +Message-Id: <1467658171-17819-1-git-send-email-jsagarribay@gmail.com> +X-Mailer: git-send-email 2.8.1 +X-Mailman-Approved-At: Mon, 04 Jul 2016 14:15:17 -0700 +X-BeenThere: notmuch@notmuchmail.org +X-Mailman-Version: 2.1.20 +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: Mon, 04 Jul 2016 18:49:46 -0000 + +It has been calling _tags_to_maildir_flags instead since the beginning, +--- + bindings/python/notmuch/message.py | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/bindings/python/notmuch/message.py b/bindings/python/notmuch/message.py +index bf80900..fc177eb 100644 +--- a/bindings/python/notmuch/message.py ++++ b/bindings/python/notmuch/message.py +@@ -572,7 +572,7 @@ class Message(Python3StringMixIn): + notmuch.STATUS.SUCCESS here. See there for details.""" + if not self._msg: + raise NotInitializedError() +- return Message._tags_to_maildir_flags(self._msg) ++ return Message._maildir_flags_to_tags(self._msg) + + def __repr__(self): + """Represent a Message() object by str()""" +-- +2.8.1 + -- 2.26.2