def version_in(dirname, indexname=None):
 from whoosh.filedb.filestore import FileStorage
 storage = FileStorage(dirname)
 return version(storage, indexname=indexname)

def version_in ( dirname , indexname = None ) : from whoosh . filedb . filestore import FileStorage storage = FileStorage ( dirname ) return version ( storage , indexname = indexname )
returns a tuple of .