Nicolas Sebrecht b8aaf4cf43 imaputil.py: factorize the flag map
Instead of repeating a mapping table twice, once for each direction, it is only
stored once.  This is safer and faster.

As the patch stands, it makes no custom flags available.  The behaviour
is exactly as before.

Patch-written-by: Dan Christensen <jdc@uwo.ca>
Signed-off-by: Nicolas Sebrecht <nicolas.s-dev@laposte.net>
2010-12-09 19:52:48 +01:00
..
2010-12-09 19:52:48 +01:00
2010-08-20 08:29:47 -05:00
2010-12-09 19:52:48 +01:00
2006-08-12 05:15:55 +01:00
2010-08-20 08:29:47 -05:00
2006-08-12 05:15:55 +01:00
2006-08-12 05:15:55 +01:00
2009-08-12 00:41:19 -05:00