scylla-gdb.py: remove extraneous spaces

Signed-off-by: Kefu Chai <kefu.chai@scylladb.com>
This commit is contained in:
Kefu Chai
2024-03-07 13:35:31 +08:00
parent 12c06c39c3
commit 8c65f92f1f

View File

@@ -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 ')',
)