Fix PEP8 violations in `apt.py`

Courtesy `pep8` linter
Merge pull request #67 from elliot42/master

Fix PEP8 violations in `apt.py`