[node-patches] Change in ovirt-node[master]: EL6: python 2.6 incompatibility with display

mburns at redhat.com mburns at redhat.com
Fri Jun 14 18:15:07 UTC 2013


Michael Burns has uploaded a new change for review.

Change subject: EL6:  python 2.6 incompatibility with display
......................................................................

EL6:  python 2.6 incompatibility with display

prior to 2.7, an index number is required

Change-Id: I19a431c46cfba5288e1966a53e10aad14b10bc7e
Signed-off-by: Mike Burns <mburns at redhat.com>
---
M src/ovirt/node/installer/core/boot_device_page.py
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-node refs/changes/31/15731/1

diff --git a/src/ovirt/node/installer/core/boot_device_page.py b/src/ovirt/node/installer/core/boot_device_page.py
index dfcac66..51cd495 100644
--- a/src/ovirt/node/installer/core/boot_device_page.py
+++ b/src/ovirt/node/installer/core/boot_device_page.py
@@ -184,7 +184,7 @@
 
         width = max([len(o[0]) for o in lines])
         txt = "Disk Details\n"
-        txt += "\n".join(["%s: %s" % (("{:%d}" % width).format(a), b)
+        txt += "\n".join(["%s: %s" % (("{0:%d}" % width).format(a), b)
                           for a, b in lines])
         self.text(txt)
 


-- 
To view, visit http://gerrit.ovirt.org/15731
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I19a431c46cfba5288e1966a53e10aad14b10bc7e
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-node
Gerrit-Branch: master
Gerrit-Owner: Michael Burns <mburns at redhat.com>



More information about the node-patches mailing list