Skip to contentSkip to conversation

Remove the extra blank lines in the output

PATCH Applied Keith Wiles 2 participants 2 messages Dec 8, 2015 – Mar 24, 2016

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Remove the extra blank lines in the output

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

---
 tools/cpu_layout.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
tools/cpu_layout.py +1 -1
index 20a409d..d38d0b5 100755
@@ -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 ""
Signature · 1 line
2.3.0
#1 lore raw

2015-12-08 12:52, Keith Wiles:

Quoted 4 lines

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

Applied, thanks