def _update_project_listeners(self, project, remove):

        logger.debug( (remove and 'Removing ' or 'Adding ') + \
            'listeners on project [%s] for SaveAction [%s]', project, self)

        project.on_trait_change(self._on_is_save_allowed, 'is_save_allowed',
            remove=remove)

        return


    #### trait handlers ######################################################
Always load
dataset/ETHPy150Open enthought/envisage/envisage/ui/single_project/action/save_project_action.py/SaveProjectAction._update_project_listeners--crossover with--dataset/ETHPy150Open saltstack/salt/salt/runners/doc.py/__virtual__