def repo_format(sbox):
    ' Return the repository format number for SBOX.'
    format_file = open(os.path.join(sbox.repo_dir, 'db', 'format'))
    format = int(format_file.read()[:1])
    format_file.close()
    return format
Return the repository format number for SBOX.
def repo_format(sbox):
    ' '
    format_file = open(os.path.join(sbox.repo_dir, 'db', 'format'))
    format = int(format_file.read()[:1])
    format_file.close()
    return format