Removed unnecessary lambda.
Changed indentation according to PEP 8.