def short_to_long(odb, hexsha):
    try:
        return bin_to_hex(odb.partial_to_complete_sha_hex(hexsha))
    except BadObject:
        return None
    # END exception handling
Return data for response 'code' if received, or None.
dataset/ETHPy150Open gitpython-developers/GitPython/git/repo/fun.py/short_to_long--crossover with--dataset/ETHPy150Open azoft-dev-team/imagrium/env/Lib/imaplib.py/IMAP4.response