From e9335e30d6997d6d00f2d5ac3773e2f95111fbc4 Mon Sep 17 00:00:00 2001 From: Jon Dowland Date: Mon, 18 Feb 2008 19:34:06 +0000 Subject: [PATCH] gen_gallery.py: quick hack to generate HTML gallery of patches --- tools/gen_gallery.py | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 tools/gen_gallery.py 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])