[PATCH] Fix ftp error

Robert Collins robertc at robertcollins.net
Wed Jan 4 22:58:34 GMT 2006


On Wed, 2006-01-04 at 20:49 +0100, Wouter Bolsterlee wrote:
> -            raise NoSuchFile(self.abspath(relpath), extra=extra)
> +            s = str(e)
> +            raise NoSuchFile(self.abspath(relpath), extra=s) 

Dunno about you but i find
               raise NoSuchFile(self.abspath(relpath), extra=str(e))

easier to read than a temporary variable called 's' here.

+0 as it is, +1 without 's'.

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/20060105/2ddebd2c/attachment.pgp 


More information about the bazaar mailing list