[Blends-commit] [SCM] website branch, master, updated. ad9f31b68af2a16ac3e98b982e012df2f33be0d4

Andreas Tille tille at debian.org
Wed Jul 10 15:06:14 UTC 2013


The following commit has been merged in the master branch:
commit ad9f31b68af2a16ac3e98b982e012df2f33be0d4
Author: Andreas Tille <tille at debian.org>
Date:   Wed Jul 10 17:09:17 2013 +0200

    Create index for thermometer to enable short links

diff --git a/webtools/thermometer.py b/webtools/thermometer.py
index ac907f3..f99afd5 100755
--- a/webtools/thermometer.py
+++ b/webtools/thermometer.py
@@ -321,6 +321,7 @@ the right shows the tasks of %s.""" ) \
     data['updatetimestamp']   = to_unicode(_('Last update:')) + ' ' + formatdate(time.mktime(t.timetuple()))
 
     data['thermometer']  = blendname + '_thermometer.html'
+    os.system("ln -sf %s %s/index.html" % (data['thermometer'], outputdir))
     data['uthermometer'] = 'ubuntu_' + blendname + '_thermometer.html'
     outputfile  = outputdir + '/' + data['thermometer']
     uoutputfile = outputdir + '/' + data['uthermometer']

-- 
Static and dynamic websites for Debian Pure Blends



More information about the Blends-commit mailing list