aboutsummaryrefslogtreecommitdiff
path: root/offlineimap/offlineimap.py
diff options
context:
space:
mode:
Diffstat (limited to 'offlineimap/offlineimap.py')
-rw-r--r--offlineimap/offlineimap.py13
1 files changed, 0 insertions, 13 deletions
diff --git a/offlineimap/offlineimap.py b/offlineimap/offlineimap.py
deleted file mode 100644
index c304ef4..0000000
--- a/offlineimap/offlineimap.py
+++ /dev/null
@@ -1,13 +0,0 @@
-import re
-
-def gmail_nametrans(foldername):
- return re.sub('^\[gmail\].', '',
- re.sub('all_mail', 'archive',
- re.sub('sent_mail', 'sent',
- re.sub('starred', 'flagged',
- re.sub('bin', 'trash',
- re.sub(' ', '_', foldername.lower()))))))
-
-def gmail_folderfilter(foldername):
- return foldername in ('INBOX', '[Gmail]/Starred',
- '[Gmail]/Drafts', '[Gmail]/All Mail')