pep8 cleanup for exception.py

This patch cleans up pep8 style issue in exception.py

Signed-off-by: Aline Manera <alinefm@br.ibm.com>