diff --git a/tools/gen_gallery.py b/tools/gen_gallery.py new file mode 100644 index 00000000..f650b7f4 --- /dev/null +++ b/tools/gen_gallery.py @@ -0,0 +1,15 @@ +#!/usr/bin/python +import os,sys,re + +# this sucks + +patches = [ x for x in os.listdir('.') if re.match(r'.*\.gif$', x) ] + +print ''' +''' +print ''.join(['

%s
' % (x,x) for x in patches])