More tweaks (gaining about ten seconds for each po in update branches process!).

This commit is contained in:
2013-03-01 14:28:38 +00:00
parent 41935d10c9
commit 462e4bee87
2 changed files with 13 additions and 8 deletions

View File

@@ -788,9 +788,7 @@ def dump_messages(do_messages, do_checks, settings):
dump_src_messages(msgs, reports, settings)
# Get strings from addons' categories.
print("foo, bar", bpy.types.WindowManager.addon_filter[1]['items'](bpy.context.window_manager, bpy.context))
for uid, label, tip in bpy.types.WindowManager.addon_filter[1]['items'](bpy.context.window_manager, bpy.context):
print(uid, label, tip)
process_msg(msgs, settings.DEFAULT_CONTEXT, label, "Addons' categories", reports, None, settings)
if tip:
process_msg(msgs, settings.DEFAULT_CONTEXT, tip, "Addons' categories", reports, None, settings)