[PATCH] Make flags a set rather than a list
Vincent Beffara
vbeffara at ens-lyon.fr
Tue Aug 16 17:00:48 BST 2011
DC> The hack I use just monkeypatches the flagmap in .offlineimap.py:
DC> import offlineimap.imaputil as IU
DC> if not hasattr(IU, 'monkeypatchdone'):
DC> IU.flagmap += [('gnus-expire','E'),
DC> ('gnus-dormant', 'Q'),
DC> ('gnus-save', 'V'),
DC> ('gnus-forward', 'W')]
DC> IU.monkeypatchdone = True
DC> I think this will still work, right?
Yep, that should still work. The one I found online reimplements both
functions, which is a bit more hacky. I'm keeping yours!
/v
--
| | UMPA - ENS Lyon | Mél: vbeffara at ens-lyon.fr |
| Vincent Beffara | 46 allée d'Italie | Tél: (+33) 4 72 72 85 25 |
| | 69364 Lyon Cedex 07 | Fax: (+33) 4 72 72 84 80 |
More information about the OfflineIMAP-project
mailing list