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

Re: Important RHEL5 list of real issues without quick fixes



On Mon, Nov 03, 2008 at 03:38:55PM +0100, Hans de Goede wrote:
> textw/network_text.py:238: Object (ptpaddr) has no attribute (value)
> textw/network_text.py:239: Object (ptpaddr) has no attribute (value)

This one is referencing ptpaddr, which is incorrectly set up as ptplist in the
code.  Here's the fix:

diff --git a/textw/network_text.py b/textw/network_text.py
index 76efc39..773ff56 100644
--- a/textw/network_text.py
+++ b/textw/network_text.py
@@ -163,9 +163,9 @@ class NetworkDeviceWindow:
         if isPtp:
             ipmiscgrid.setField(Label(_("P-to-P:")), 0, ipmiscrow,
                                 anchorLeft = 1, padding = (0, 1, 1, 0))
-            ptplist = Entry(41)
-            ptplist.set(dev.get('remip'))
-            ipmiscgrid.setField(ptplist, 1, ipmiscrow, anchorLeft = 1,
+            ptpaddr = Entry(41)
+            ptpaddr.set(dev.get('remip'))
+            ipmiscgrid.setField(ptpaddr, 1, ipmiscrow, anchorLeft = 1,
                                 padding = (0, 1, 0, 0))
 
             ipmiscrow += 1


-- 
David Cantrell <dcantrell redhat com>
Red Hat / Honolulu, HI

Attachment: pgpXBziscBZde.pgp
Description: PGP signature


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