~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/__init__.py

  • Committer: Jelmer Vernooij
  • Date: 2011-03-30 11:34:31 UTC
  • mto: (5622.4.1 uninstall-hook)
  • mto: This revision was merged to the branch mainline in revision 5747.
  • Revision ID: jelmer@samba.org-20110330113431-49zqsye1ean4pdhl
Revert unnecessary changes.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1005
1005
        self.addCleanup(self._restoreHooks)
1006
1006
        for key, (parent, name) in known_hooks.iter_parent_objects():
1007
1007
            factory = known_hooks.get(key)
1008
 
            setattr(parent, name, factory(key[0], key[1]))
 
1008
            setattr(parent, name, factory())
1009
1009
        # this hook should always be installed
1010
1010
        request._install_hook()
1011
1011