bitkeeper revision 1.1159.1.51 (411cb093WisMx6OYUPrSE3N1COOggA)

Fix construction of error message.
This commit is contained in:
mjw@wray-m-3.hpl.hp.com committed 2004-08-13 12:14:11 +00:00
1 parent 90434d9229
commit c9a3d10d21
1 file changed
+2 -3
+2 -3
View File
@@ -198,9 +198,8 @@ class BlkifControllerFactory(controller.ControllerFactory):
val = unpackMsg('blkif_be_vbd_grow_t', msg)
status = val['status']
if status != BLKIF_BE_STATUS_OKAY:
raise XendError("Adding extent to vbd failed: device %x, error %d",
val['extent.device'],
status)
raise XendError("Adding extent to vbd failed: device %x, error %d"
% (val['extent.device'], status))
if self.attached:
if d:
d.callback(dev)
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.