docker-offlineimap/offlineimap/folder
Sebastian Spaeth 466ded04d9 Make flags a set rather than a list
As this is essentially what it is, a set of values. This allows as
to do set arithmetics to see, e.g. the intersection of 2 flag sets
rather than clunkily having to do:

for flag in newflags:
  if flag not in oldflags:
    oldflags.append(flag)

Also some more code documenting.

Signed-off-by: Sebastian Spaeth <Sebastian@SSpaeth.de>
Signed-off-by: Nicolas Sebrecht <nicolas.s-dev@laposte.net>
2011-08-19 18:56:10 +02:00
..
__init__.py Add Gmail IMAP special support. 2008-01-03 04:56:55 +01:00
Base.py Make flags a set rather than a list 2011-08-19 18:56:10 +02:00
Gmail.py Make flags a set rather than a list 2011-08-19 18:56:10 +02:00
IMAP.py Make flags a set rather than a list 2011-08-19 18:56:10 +02:00
LocalStatus.py Make flags a set rather than a list 2011-08-19 18:56:10 +02:00
LocalStatusSQLite.py Make flags a set rather than a list 2011-08-19 18:56:10 +02:00
Maildir.py Make flags a set rather than a list 2011-08-19 18:56:10 +02:00
UIDMaps.py Replaced tabs with spaces to unify python sources 2011-08-16 22:33:19 +02:00