From: Sebastian Spaeth Date: Wed, 17 Mar 2010 16:11:58 +0000 (+0100) Subject: notmuch: fix to use new Query.SORT enum X-Git-Tag: 0.3~121^2~75 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=99880b7dbe0169fe303ef2e77984b46a55a74560;p=notmuch.git notmuch: fix to use new Query.SORT enum --- diff --git a/notmuch b/notmuch index de9d7b10..2ddd9ffc 100755 --- a/notmuch +++ b/notmuch @@ -155,7 +155,7 @@ if __name__ == '__main__': #TODO: implement "dump " db = Database() q = Query(db,'') - q.set_sort(Query.SORT_MESSAGE_ID) + q.set_sort(Query.SORT.MESSAGE_ID) m = q.search_messages() for msg in m: print("%s (%s)" % (msg.get_message_id(), msg.get_tags()))