Change status messages according to requirement of pep8