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

[PATCH] ptplist renamed to ptpaddr.



Caught by pychecker.
---
 textw/network_text.py |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

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
-- 
1.6.0.2


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