| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 72be2cd commit 04ca930
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -479,11 +479,9 @@ def matches(self, cursor_offset, line, **kwargs): | |||
| 479 | 479 | script = jedi.Script(history, len(history.splitlines()), | |
| 480 | 480 | cursor_offset, 'fake.py') | |
| 481 | 481 | completions = script.completions() | |
| 482 | - except jedi.NotFoundError: | ||
| 483 | - self._orig_start = None | ||
| 484 | - return None | ||
| 485 | - except IndexError: | ||
| 486 | - # for #483 | ||
| 482 | + except (jedi.NotFoundError, IndexError, KeyError): | ||
| 483 | + # IndexError for #483 | ||
| 484 | + # KeyError for #544 | ||
| 487 | 485 | self._orig_start = None | |
| 488 | 486 | return None | |
| 489 | 487 | ||
| Back | FazBrowse Home | New Git URL |
0 commit comments