Making set_description method compatible with python 2.4 by not using 'with'