We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9938e94 commit 242a88dCopy full SHA for 242a88d
mx.graalpython/mx_graalpython_bisect.py
@@ -142,17 +142,13 @@ def repo_name(self):
142
143
@property
144
def good_commit(self):
145
- try:
+ if 0 <= self.good_index < len(self.commits):
146
return self.commits[self.good_index]
147
- except IndexError:
148
- return None
149
150
151
def bad_commit(self):
152
+ if 0 <= self.bad_index < len(self.commits):
153
return self.commits[self.bad_index]
154
155
156
157
def visualize(self, level=1):
158
level_marker = '=' * level
0 commit comments