| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -609,10 +609,14 @@ def get_completer(completers, cursor_offset, line, **kwargs): | |||
| 609 | 609 | double underscore methods like __len__ in method signatures | |
| 610 | 610 | """ | |
| 611 | 611 | ||
| 612 | - for completer in completers: | ||
| 613 | - matches = completer.matches(cursor_offset, line, **kwargs) | ||
| 614 | - if matches is not None: | ||
| 615 | - return sorted(matches), (completer if matches else None) | ||
| 612 | + try: | ||
| 613 | + for completer in completers: | ||
| 614 | + matches = completer.matches(cursor_offset, line, **kwargs) | ||
| 615 | + if matches is not None: | ||
| 616 | + return sorted(matches), (completer if matches else None) | ||
| 617 | + except: | ||
| 618 | + pass | ||
| 619 | + | ||
| 616 | 620 | return [], None | |
| 617 | 621 | ||
| 618 | 622 | ||
| Back | FazBrowse Home | New Git URL |
0 commit comments