Fix pylint error introduced in commit 9675661