Ok the main reason I started to hack on pygallery.py again was that people want to group galleries together. However, since I started with this I have discovered areas that can be further improved. One area is that I use the ConfigParser class for index.cfg files. However, I should use the class SafeConfigParser and I should definitely handle all the exception cases! The ConfigParser and the SafeConfigParser implements RFC 822 and those facts are not in the pygallery.py documentation (soon it will be). Well got to go back to hacking.