~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/commands.py

  • Committer: Martin Pool
  • Date: 2005-06-22 09:34:11 UTC
  • Revision ID: mbp@sourcefrog.net-20050622093411-117a9269549f7c03
- fix up register_command() names

Show diffs side-by-side

added added

removed removed

Lines of Context:
29
29
plugin_cmds = {}
30
30
 
31
31
 
32
 
def register_plugin_command(cmd):
 
32
def register_command(cmd):
33
33
    "Utility function to help register a command"
34
34
    global plugin_cmds
35
35
    k = cmd.__name__