~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to __init__.py

  • Committer: Martin Pool
  • Date: 2006-03-15 19:46:05 UTC
  • mto: (1668.1.8 bzr-0.8.mbp)
  • mto: This revision was merged to the branch mainline in revision 1710.
  • Revision ID: mbp@sourcefrog.net-20060315194605-8b8ce129bff44a1d
Start forming xmlrpc requests

Show diffs side-by-side

added added

removed removed

Lines of Context:
24
24
 
25
25
from bzrlib.commands import Command, Option, register_command
26
26
 
 
27
 
 
28
 
27
29
class cmd_register_branch(Command):
28
30
    """Register a branch with launchpad.net.
29
31
 
46
48
    takes_args = ['branch_url']
47
49
 
48
50
    def run(self, branch_url):
49
 
        pass
50
 
 
 
51
        from lp_registration import BranchRegistrationRequest
 
52
        BranchRegistrationRequest(branch_url)
51
53
 
52
54
register_command(cmd_register_branch)
53
55