summaryrefslogtreecommitdiff
path: root/loader/lib/mbox.py
AgeCommit message (Collapse)Author
2025-06-16Allow passing filenames to --mbox that contain parenthesesJelte Fennema-Nio
Without this you would get an error like this: Failed to parse mbox: b'/bin/sh: 1: Syntax error: "(" unexpected\n' This especially matters when loading files downloaded with a browser, since those often contain (1) or (2) if a file with the same name was downloaded earlier.
2019-01-04Whitespace fixesMagnus Hagander
2019-01-04Tabs to 4 spacesMagnus Hagander
pep8 standard for indentation
2019-01-03Update loader scripts to use python3 syntaxMagnus Hagander
Some minor cleanups as well, but mostly just the output of the 2to3 tool and some manual changes.
2012-06-21Support reading directly from gzipped mbox filesMagnus Hagander
2012-06-20Add ability to parse a mailbox directlyMagnus Hagander
We call formail to do this, since it breaks on a few less emails than the regular mbox parser.