laas/morse — comment on commit 40f2b82d0710b85d470289ae7e2e0708d1d6de7a
File: src/morse/builder/extensions/pr2extension.py line 16
By pierriko:

name = "head_armature"
[obj for obj in bpy.context.selected_objects if name in obj.name].pop()

gives: bpy.data.objects["head_armature"]

import another PR2, and:

[obj for obj in bpy.context.selected_objects if name in obj.name].pop()

gives: bpy.data.objects["head_armature.001"]