The Final Flakes

hashar has enabled the flake8 tests on jenkins to be voting,
so new flakes will be hard to push into the codebase in future.

This changeset removes two that have slipped into the codebase
over the last week.

setup.py:37:9: F401 'unittest' imported but unused
scripts/protect.py:222:41: F812 list comprehension redefines 'p_type'
from line 189

Change-Id: I19fb7ca525383ef1ab13e807edc9b4b00394cbb1