def format_status_message(self, message):
    if ('%s' in message):
        return (message % self.context.get('name', 'unknown project'))
    else:
        return message
def format_status_message(self, message):
    if ('%s' in message):
        return (message % self.context.get('name', 'unknown project'))
    else:
        return message