]> git.notmuchmail.org Git - notmuch/commitdiff
python: deprecated add_message calls index_file correctly and returns result
authorGaute Hope <eg@gaute.vetsj.com>
Wed, 30 Aug 2017 08:16:33 +0000 (10:16 +0200)
committerDavid Bremner <david@tethera.net>
Tue, 12 Sep 2017 18:21:40 +0000 (15:21 -0300)
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.


No differences found