def employee_department ( self, editor, object ):
        dept = editor.get_parent( object )
        print ( object.name, dept.name ) % '%s works in the %s department.'

#-------------------------------------------------------------------------------
#  Define the View to use:
#-------------------------------------------------------------------------------
dataset/ETHPy150Open enthought/traitsui/integrationtests/ui/tree_editor_test.py/TreeHandler.employee_department/swapped operands of `%`