Kaydet (Commit) a71a33e2 authored tarafından Jan Holesovsky's avatar Jan Holesovsky

postprocess: Some .svg images were missing previously.

Change-Id: I6c42b1f94f6510e42049bc7c7fc040f17e6edae6
Reviewed-on: https://gerrit.libreoffice.org/66773
Tested-by: Jenkins
Reviewed-by: 's avatarJan Holesovsky <kendy@collabora.com>
üst 626ae6a6
......@@ -518,18 +518,16 @@ def parse_image_list(imagelist_filenames):
if line.startswith('%GLOBALRES%'):
key = "res/%s" % line.replace('%GLOBALRES%/', '')
if key in global_image_list:
global_image_list[key] += 1
else:
global_image_list[key] = 0
global_image_list[key] = True
if key.endswith('.png'):
global_image_list[key[:-4] + '.svg'] = True
continue
if line.startswith('%MODULE%'):
key = line.replace('%MODULE%/', '')
if key in module_image_list:
module_image_list[key] += 1
else:
module_image_list[key] = 0
module_image_list[key] = True
if key.endswith('.png'):
module_image_list[key[:-4] + '.svg'] = True
continue
LOGGER.error("Cannot parse line %s:%d", imagelist_filename, line_count)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment