
- Fix pep8 error H903: [1] - Add method _update_task_state to reduce code lines. - Change single quotes to double quotes in docstring - PEP8 docstring convention [2]. [1] http://paste.openstack.org/show/614990/ [2] https://www.python.org/dev/peps/pep-0257/ Partials-Bug: #1702587 Change-Id: Idd125665a2a5f0a73337d36f0259a9f9107946ad