| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -544,10 +544,14 @@ def get_completer(completers, cursor_offset, line, **kwargs): | |||
| 544 | 544 | double underscore methods like __len__ in method signatures | |
| 545 | 545 | """ | |
| 546 | 546 | ||
| 547 | - for completer in completers: | ||
| 548 | - matches = completer.matches(cursor_offset, line, **kwargs) | ||
| 549 | - if matches is not None: | ||
| 550 | - return sorted(matches), (completer if matches else None) | ||
| 547 | + try: | ||
| 548 | + for completer in completers: | ||
| 549 | + matches = completer.matches(cursor_offset, line, **kwargs) | ||
| 550 | + if matches is not None: | ||
| 551 | + return sorted(matches), (completer if matches else None) | ||
| 552 | + except: | ||
| 553 | + pass | ||
| 554 | + | ||
| 551 | 555 | return [], None | |
| 552 | 556 | ||
| 553 | 557 | ||
| Back | FazBrowse Home | New Git URL |
0 commit comments