From 8c65f92f1f2f82bca4e752d30b64ab76dcdbe6ec Mon Sep 17 00:00:00 2001 From: Kefu Chai Date: Thu, 7 Mar 2024 13:35:31 +0800 Subject: [PATCH] scylla-gdb.py: remove extraneous spaces Signed-off-by: Kefu Chai --- scylla-gdb.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/scylla-gdb.py b/scylla-gdb.py index 736bafa326..e15b54905b 100755 --- a/scylla-gdb.py +++ b/scylla-gdb.py @@ -1097,7 +1097,7 @@ class boost_intrusive_list_printer(gdb.printing.PrettyPrinter): class interval_printer(gdb.printing.PrettyPrinter): def __init__(self, val): - try : + try: self.val = val['_interval'] except gdb.error: # 4.1 compatibility self.val = val['_range'] @@ -1116,10 +1116,10 @@ class interval_printer(gdb.printing.PrettyPrinter): has_end, end_inclusive, end_value = self.inspect_bound(self.val['_end']) return '{}{}, {}{}'.format( - '[' if start_inclusive else '(', + '[' if start_inclusive else '(', str(start_value) if has_start else '-inf', str(end_value) if has_end else '+inf', - ']' if end_inclusive else ')', + ']' if end_inclusive else ')', )