Skip to content

Commit b22ce1e

Browse files
committed
Does this really need a commit message? I fucked up.
1 parent 3c42789 commit b22ce1e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

bpython/repl.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,7 @@ def back(self, start=True, search=False):
178178
if not self.is_at_end:
179179
if search:
180180
self.index += self.find_partial_match_backward(self.saved_line)
181-
elif match:
181+
elif start:
182182
self.index += self.find_match_backward(self.saved_line)
183183
else:
184184
self.index += 1
@@ -204,7 +204,7 @@ def forward(self, start=True, search=False):
204204
if self.index > 1:
205205
if search:
206206
self.index -= self.find_partial_match_forward(self.saved_line)
207-
elif match:
207+
elif start:
208208
self.index -= self.find_match_forward(self.saved_line)
209209
else:
210210
self.index -= 1

0 commit comments

Comments
 (0)