From 04a52040aef69910e9ac2218fea48077e34d4017 Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Thu, 12 Nov 2015 11:15:23 +0100 Subject: Python 3 compatibility --- tools/gdb/python/heaps.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'tools/gdb/python/heaps.py') diff --git a/tools/gdb/python/heaps.py b/tools/gdb/python/heaps.py index e843f33..14238e3 100644 --- a/tools/gdb/python/heaps.py +++ b/tools/gdb/python/heaps.py @@ -73,9 +73,9 @@ class stats: return self.stat['free_size'] def show(self): - print ' Instance:',self.inst() - print ' Avail:',self.avail() - print ' Free:',self.free() + print(' Instance:',self.inst()) + print(' Avail:',self.avail()) + print(' Free:',self.free()) # ToDo : incorporate others @@ -105,9 +105,9 @@ class control: fi = self.first() la = self.last() - print ' First:', fi.val() - print ' Last:', la.val() + print(' First:', fi.val()) + print(' Last:', la.val()) stats = self.stat() - print ' stats:' + print(' stats:') stats.show() -- cgit v1.2.3