From a9d2139bc5facb84db13a457be1f38406d41d59d Mon Sep 17 00:00:00 2001 From: "martin f. krafft" Date: Wed, 30 Dec 2020 14:42:23 +1300 Subject: [PATCH 1/1] readying for offlineimap3 --- .offlineimap/helper.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.offlineimap/helper.py b/.offlineimap/helper.py index 454d1e6..d758d95 100644 --- a/.offlineimap/helper.py +++ b/.offlineimap/helper.py @@ -19,7 +19,7 @@ def py_foldersort_main(x, y): return +1 elif y.startswith(prefix): return -1 - return cmp(x, y) + return (x > y) - (x < y) def py_nametrans(x): return re.sub('^INBOX', 'inbox', x) -- 2.39.5