Fix build

Fix #2
This commit is contained in:
Julien Duponchelle 2015-08-05 11:07:34 +02:00
parent f77f415b58
commit 519198eae0
2 changed files with 2 additions and 3 deletions

View File

@ -82,7 +82,7 @@ render('downloads.html', 'downloads.html')
devices = [] devices = []
for device_file in os.listdir('devices'): for device_file in os.listdir('devices'):
print("Process " + device_file) log.info("Process " + device_file)
out_filename = device_file[:-5] out_filename = device_file[:-5]
with open(os.path.join('devices', device_file)) as f: with open(os.path.join('devices', device_file)) as f:
device = json.load(f) device = json.load(f)
@ -97,7 +97,6 @@ for device_file in os.listdir('devices'):
version['images'][image_type]["type"] = image_type version['images'][image_type]["type"] = image_type
render('device.html', os.path.join('devices', out_filename + '.html'), device=device) render('device.html', os.path.join('devices', out_filename + '.html'), device=device)
print(device)
devices.append(device) devices.append(device)
# Build a page named with the md5sum of each file of the device # Build a page named with the md5sum of each file of the device

View File

@ -39,7 +39,7 @@
{ {
"name": "4.13.8M", "name": "4.13.8M",
"images": { "images": {
"hda_disk_image": "Aboot-veos-2.1.0.iso", "hda_disk_image": "Aboot-veos-serial-2.1.0.iso",
"hdb_disk_image": "vEOS-lab-4.13.8M.vmdk" "hdb_disk_image": "vEOS-lab-4.13.8M.vmdk"
} }
} }