From: martin f. krafft Date: Wed, 30 Dec 2020 01:42:23 +0000 (+1300) Subject: readying for offlineimap3 X-Git-Url: https://git.madduck.net/etc/offlineimap.git/commitdiff_plain/a9d2139bc5facb84db13a457be1f38406d41d59d readying for offlineimap3 --- 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)