[dpdk-dev] [PATCH] Remove the extra blank lines in the output

Keith Wiles keith.wiles at intel.com
Tue Dec 8 19:52:17 CET 2015


The output for the core list included an extra linefeed making
the number of lines displayed much larger then required.

Signed-off-by: Keith Wiles <keith.wiles at intel.com>
---
 tools/cpu_layout.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tools/cpu_layout.py b/tools/cpu_layout.py
index 20a409d..d38d0b5 100755
--- a/tools/cpu_layout.py
+++ b/tools/cpu_layout.py
@@ -92,4 +92,4 @@ for c in cores:
         print "Core %s" % str(c).ljust(max_core_id_len),
         for s in sockets:
                 print str(core_map[(s,c)]).ljust(max_core_map_len),
-        print "\n"
+        print ""
-- 
2.3.0



More information about the dev mailing list