Skip to content
Snippets Groups Projects
Commit e87cd33d authored by Gigg, Martyn Anthony's avatar Gigg, Martyn Anthony
Browse files

Fix script autocompletion. Refs #6710

parent a58d83dc
No related branches found
No related tags found
No related merge requests found
...@@ -62,6 +62,7 @@ if __name__ == '__main__': ...@@ -62,6 +62,7 @@ if __name__ == '__main__':
def _ScopeInspector_GetFunctionAttributes(definitions): def _ScopeInspector_GetFunctionAttributes(definitions):
if type(definitions) != dict: if type(definitions) != dict:
return [] return []
from mantid.simpleapi import _get_function_spec
keywords = [] keywords = []
for name,obj in definitions.iteritems(): for name,obj in definitions.iteritems():
if name.startswith('_') : continue if name.startswith('_') : continue
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment