404 import rope.contrib.findit |
404 import rope.contrib.findit |
405 try: |
405 try: |
406 location = rope.contrib.findit.find_definition( |
406 location = rope.contrib.findit.find_definition( |
407 self.__project, source, offset, resource) |
407 self.__project, source, offset, resource) |
408 except Exception as err: |
408 except Exception as err: |
|
409 location = None |
409 errorDict = self.__handleRopeError(err) |
410 errorDict = self.__handleRopeError(err) |
410 |
411 |
411 if location is not None: |
412 if location is not None: |
412 result["Location"] = { |
413 result["Location"] = { |
413 "ModulePath": location.resource.real_path, |
414 "ModulePath": location.resource.real_path, |