[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] [PATCH] tools/python pciif: fix some python format string operators



On Mon, Apr 10, 2006 at 09:37:56AM -0400, Ryan wrote:

> I used the wrong operator in a couple places for putting together some
> error messages out of format strings. This patch corrects those
> operators and fixes the strings.
> 
> Signed-off-by: Ryan Wilson <hap9@xxxxxxxxxxxxxx>

Applied, thanks.

Could you provide your patches as an attachment in the future?  Your patch got
horribly mangled -- look how the plus signs wrap nicely onto the next line on
an 80-column display, in the hunk below.

Cheers,

Ewan.

@@ -131,7 +131,7 @@
                     nr_ports = size, allow_access = True)
             if rc<0:
                 raise VmError(('pci: failed to configure I/O ports on device '
+
-                            '%s - errno=%d')&(dev.name,rc))
+                            '%s - errno=%d')%(dev.name,rc))

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.