~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/inventory.py

Show diffs side-by-side

added added

removed removed

Lines of Context:
2305
2305
    try:
2306
2306
        factory = entry_factory[kind]
2307
2307
    except KeyError:
2308
 
        raise BzrError("unknown kind %r" % kind)
 
2308
        raise errors.BadFileKindError(name, kind)
2309
2309
    return factory(file_id, name, parent_id)
2310
2310
 
2311
2311