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: long hexadecimal sha1 from the given less-than-40 byte hexsha
dataset/ETHPy150Open gitpython-developers/GitPython/git/repo/fun.py/short_to_long