Traceback if a command doesn't have a docstring

Robert Collins robertc at robertcollins.net
Thu Dec 20 02:53:15 GMT 2007


On Wed, 2007-12-19 at 09:26 -0600, John Arbash Meinel wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> I have a plugin command that I never wrote a docstring for. Doing "bzr help
> command" gives a full traceback with:
>   File "/Users/jameinel/dev/bzr/bzr.dev/bzrlib/commands.py", line 292, in
> get_help_text
>     raise NotImplementedError("sorry, no detailed help yet for %r" % self.name())
> NotImplementedError: sorry, no detailed help yet for 'bench-patience'

Yes this is deliberate; I don't know why though.

-Rob
-- 
GPG key available at: <http://www.robertcollins.net/keys.txt>.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20071220/0f68a107/attachment.pgp 


More information about the bazaar mailing list