[MERGE] Command Not Found core code

Lukáš Lalinský lalinsky at gmail.com
Sun Mar 30 12:53:50 BST 2008


On Po, 2008-03-03 at 17:15 +0000, Martin Albisetti wrote: 
> Since I'm still not sure on what to do with the plugin database bit,
> I'm attaching just the code needed in the core to make this spec work,
> and I'll send a separate merge request with the plugin itself so it
> can be discussed independently.
> With this code merged, I can also make a plugin available so people
> can start playing around with it easier.

[...]

> === modified file 'bzrlib/commands.py'
> --- bzrlib/commands.py  2008-01-21 05:44:29 +0000
> +++ bzrlib/commands.py  2008-03-03 17:12:37 +0000

[...]

> +class Provider(object):
> +
> +    def plugin_for_command(self, cmd_name):
> +        raise NotImplementedError

This probably needs some kind of documentation. It's not really obvious
that the method should return a dict with some specific keys.

Lukas

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Toto je =?ISO-8859-1?Q?digit=E1lne?=
	=?ISO-8859-1?Q?_podp=EDsan=E1?= =?UTF-8?Q?_=C4=8Das=C5=A5?=
	=?ISO-8859-1?Q?_spr=E1vy?=
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20080330/6e58a7a1/attachment.pgp 


More information about the bazaar mailing list