(l) Where a local authority, in exercise of its functions under any law, directs a landlord to make certain specified repairs to his building and the landlord fails to comply therewith, the tenant may at the direction of the local authority make such repairs. (2) Where a tenant make any repairs in pursuance of a direction given under sub-sec...