[Commits] [SCM] claws branch, master, updated. 3.9.2-81-g4882d13

holger at claws-mail.org holger at claws-mail.org
Tue Aug 20 22:04:00 CEST 2013


The branch master of project "claws" (Claws Mail) has been updated
       via  4882d13780157870ac147aa0ee3f41176f46f093 (commit)
      from  5431edf4ab7293a31d89a98c779f950de4cefa64 (commit)


- Log -----------------------------------------------------------------
commit 4882d13780157870ac147aa0ee3f41176f46f093
Author: Holger Berndt <hb at claws-mail.org>
Date:   Tue Aug 20 22:03:46 2013 +0200

    Python plugin: Folder: Fix deprecation warning

diff --git a/src/plugins/python/foldertype.c b/src/plugins/python/foldertype.c
index faf108c..b59b1a4 100644
--- a/src/plugins/python/foldertype.c
+++ b/src/plugins/python/foldertype.c
@@ -258,12 +258,13 @@ static PyMethodDef Folder_methods[] = {
     {"get_identifier", (PyCFunction)Folder_get_identifier, METH_NOARGS,
      "get_identifier() - get identifier\n"
      "\n"
-     "Get identifier for folder as a string (e.g. #mh/foo/bar)."},
+     "Get identifier for folder as a string (e.g. #mh/foo/bar).\n\n"
+     "DEPRECATED: Use identifier property instead."},
+
     {"get_messages", (PyCFunction)Folder_get_messages, METH_NOARGS,
      "get_messages() - get a tuple of messages in folder\n"
      "\n"
-     "Get a tuple of MessageInfos for the folder.\n\n"
-     "DEPRECATED: Use identifier property instead."},
+     "Get a tuple of MessageInfos for the folder."},
 
      {NULL}
 };

-----------------------------------------------------------------------

Summary of changes:
 src/plugins/python/foldertype.c |    7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)


hooks/post-receive
-- 
Claws Mail


More information about the Commits mailing list