def swift_load_pack_index(scon, filename):
 f = scon.get_object(filename)
 try:
  return load_pack_index_file(filename, f)
 finally:
  f.close()

def swift_load_pack_index ( scon , filename ) : f = scon . get_object ( filename ) try : return load_pack_index_file ( filename , f ) finally : f . close ( )
read a pack index file from swift .