diff options
Diffstat (limited to 'tests/python/bl_keymap_completeness.py')
-rw-r--r-- | tests/python/bl_keymap_completeness.py | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/tests/python/bl_keymap_completeness.py b/tests/python/bl_keymap_completeness.py index 19541b355e2..30dac64f88b 100644 --- a/tests/python/bl_keymap_completeness.py +++ b/tests/python/bl_keymap_completeness.py @@ -49,14 +49,17 @@ def check_maps(): test = maps_py - maps_bl if test: print("Keymaps that are in 'bl_keymap_utils.keymap_hierarchy' but not blender") - for km_id in sorted(test): + for km_id in test: + if callable(km_id): + # Keymap functions of tools are not in blender anyway... + continue print("\t%s" % km_id) - err = True + err = True test = maps_bl - maps_py if test: print("Keymaps that are in blender but not in 'bl_keymap_utils.keymap_hierarchy'") - for km_id in sorted(test): + for km_id in test: km = keyconf.keymaps[km_id] print(" ('%s', '%s', '%s', [])," % (km_id, km.space_type, km.region_type)) err = True |