aboutsummaryrefslogtreecommitdiff
path: root/.offlineimap.py
diff options
context:
space:
mode:
authorRyan Kavanagh <rak@rak.ac>2021-10-19 11:41:39 -0400
committerRyan Kavanagh <rak@rak.ac>2021-10-19 11:41:39 -0400
commit65fa90da68bb3ef0904adcbe28f04a03db5728fc (patch)
tree76c47102115177699282c317e998878241ce8672 /.offlineimap.py
parentupdate sm (diff)
drop offlineimap
Diffstat (limited to '.offlineimap.py')
-rw-r--r--.offlineimap.py20
1 files changed, 0 insertions, 20 deletions
diff --git a/.offlineimap.py b/.offlineimap.py
deleted file mode 100644
index b5a73dd..0000000
--- a/.offlineimap.py
+++ /dev/null
@@ -1,20 +0,0 @@
-import offlineimap
-import re
-
-prioritized = ['INBOX', 'QueensU.INBOX']
-
-def mycmp(x, y):
- for prefix in prioritized:
- if offlineimap.__version__ < '6.4':
- xsw = x.startswith(prefix)
- ysw = y.startswith(prefix)
- else:
- xsw = x.visiblename.startswith(prefix)
- ysw = y.visiblename.startswith(prefix)
- if xsw and ysw:
- return cmp(x, y)
- elif xsw:
- return -1
- elif ysw:
- return +1
- return cmp(x, y)