Fix discovery mapping pep8
Fix discovery mapping pep8
Only write Impact files if impact adapters defined.