def format_possible_failure_result(result):
    output = {}
    message = result.get('message', None)
    if message:
        output['message'] = message
    traceback = result.get('traceback', None)
    if traceback:
        output['traceback'] = traceback
    return output
>>> delete_unique("Trust no one")
dataset/ETHPy150Open StackStorm/st2contrib/packs/hubot/actions/post_result.py/format_possible_failure_result--crossover with--dataset/ETHPy150Open bt3gl/Python-and-Algorithms-and-Data-Structures/src/builtin_structures/delete_duplicate_char_str.py/removing_duplicates_seq