def publish_exploration(committer_id, exploration_id):
 _publish_activity(committer_id, exploration_id, feconf.ACTIVITY_TYPE_EXPLORATION)

def publish_exploration ( committer_id , exploration_id ) : _publish_activity ( committer_id , exploration_id , feconf . ACTIVITY_TYPE_EXPLORATION )
this is called by the publish_exploration_and_update_user_profiles function in exp_services .