3030
3030
"""Return the format for the working tree object in a_bzrdir."""
3032
3032
format_string = klass.find_format_string(a_bzrdir)
3034
3033
return format_registry.get(format_string)
3036
3035
raise errors.UnknownFormatError(format=format_string,