| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 60d556d commit 415e20c
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -30,7 +30,7 @@ def _get_definition_type(self, definition): | |||
| 30 | 30 | ||
| 31 | 31 | def _additional_info(self, completion): | |
| 32 | 32 | """Provide additional information about the completion object.""" | |
| 33 | - if completion._definition is None: | ||
| 33 | + if not hasattr(completion, '_definition') or completion._definition is None: | ||
| 34 | 34 | return '' | |
| 35 | 35 | if completion.type == 'statement': | |
| 36 | 36 | nodes_to_display = ['InstanceElement', 'String', 'Node', 'Lambda', | |
| Back | FazBrowse Home | New Git URL |
0 commit comments