Don't add a log entry if no changes will be logged. Better PEP8 compliance.