<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def set_release(self, openstack_release):
 """ Resets the template environment and generates a new template loader based on a the new openstack release. """

        self._tmpl_env = None
        self.openstack_release = openstack_release
        self._get_tmpl_env()