[PATCH] Trivial. Fixed takes_args of cmd_relpath

Martin Pool mbp at sourcefrog.net
Mon May 9 05:33:19 BST 2005


On  8 May 2005, Bartosz Oler <liar at bzimage.us> wrote:
> Hello,
> 
> Today's tests didn't pass due to a bug in cmd_relpath.
> 
> List of arguments for a command (takes_args) must be specified as a list
> not as a tuple. Otherwise the args parser requires many arguments for
> a command.

Thanks, this was already fixed but not uploaded.  The problem is
actually that ('foo') is not a tuple in Python but a parenthesized
expression evaluating to a single string.  (This is one of the more
ugly bits of Python syntax.)

-- 
Martin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20050509/cf998043/attachment.pgp 


More information about the bazaar mailing list