~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/hooks.py

  • Committer: Jelmer Vernooij
  • Date: 2011-03-30 11:50:40 UTC
  • mto: (5622.4.1 uninstall-hook)
  • mto: This revision was merged to the branch mainline in revision 5747.
  • Revision ID: jelmer@samba.org-20110330115040-7n9t3p9up061e13g
Revert some unnecessary changes.

Show diffs side-by-side

added added

removed removed

Lines of Context:
115
115
    FOO hook is triggered.
116
116
    """
117
117
 
118
 
    def __init__(self, module, member_name):
 
118
    def __init__(self, module=None, member_name=None):
119
119
        """Create a new hooks dictionary.
120
120
 
121
121
        :param module: The module from which this hooks dictionary should be loaded