Merge "Recreate index.html with each run"

This commit is contained in:
Jenkins 2014-04-17 20:54:05 +00:00 committed by Gerrit Code Review
commit 83da62eede

View File

@ -27,7 +27,6 @@ def create_files(templatepath, outputpath, projects):
# Create index file
env = Environment(loader=FileSystemLoader(templatepath))
indexfile = os.path.join(outputpath, "index.html")
if not os.path.exists(indexfile):
template = env.get_template('index.html')
template.stream(projects=projects,
openstack_status=openstack_status).dump(indexfile)