~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/help_topics.py

  • Committer: John Arbash Meinel
  • Date: 2006-11-09 14:29:21 UTC
  • mto: This revision was merged to the branch mainline in revision 2126.
  • Revision ID: john@arbash-meinel.com-20061109142921-0b13c8496ca298d0
Fixes from Martin

Show diffs side-by-side

added added

removed removed

Lines of Context:
24
24
 
25
25
 
26
26
class HelpTopicRegistry(registry.Registry):
27
 
    """A Regsitry customized for handling help topics."""
 
27
    """A Registry customized for handling help topics."""
28
28
 
29
29
    def register(self, topic, detail, summary):
30
30
        """Register a new help topic.
46
46
        :param member_name: The member of the module to use for detailed help.
47
47
        :param summary: String providing single-line documentation for topic.
48
48
        """
49
 
        super(HelpTopicRegistry, self).register(topic, module_name,
50
 
                                                member_name, info=summary)
 
49
        super(HelpTopicRegistry, self).register_lazy(topic, module_name,
 
50
                                                     member_name, info=summary)
51
51
 
52
52
    def get_detail(self, topic):
53
53
        """Get the detailed help on a given topic."""