~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/registry.py

(jelmer) Add RepositoryFormat.is_deprecated(). (Jelmer Vernooij)

Show diffs side-by-side

added added

removed removed

Lines of Context:
275
275
            self._other_registry.register_lazy(key, module_name, member_name,
276
276
                help=help, info=info, override_existing=override_existing)
277
277
 
 
278
    def remove(self, key):
 
279
        Registry.remove(self, key)
 
280
        if self._other_registry is not None:
 
281
            self._other_registry.remove(key)
 
282
 
278
283
    def get(self, format_string):
279
284
        r = Registry.get(self, format_string)
280
285
        if callable(r):