From: Gaute Hope Date: Wed, 30 Aug 2017 08:16:33 +0000 (+0200) Subject: python: deprecated add_message calls index_file correctly and returns result X-Git-Tag: 0.26_rc0~148 X-Git-Url: https://git.notmuchmail.org/git?a=commitdiff_plain;h=227ecf4949280d457ee029b42ee8d459624a2413;hp=227ecf4949280d457ee029b42ee8d459624a2413;p=notmuch python: deprecated add_message calls index_file correctly and returns result The deprecated Database.add_message now calls the new index_file with correct number of arguments (without an extra `self`), and returns the tuple from index_file - as it used to do before. This change also adds a DeprecationWarning to the function. ---