python: Remove an unused variable