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
..
2008-01-03 04:56:55 +01:00
2011-08-19 18:56:10 +02:00
2011-08-19 18:56:10 +02:00
2011-08-19 18:56:10 +02:00
2011-08-19 18:56:10 +02:00