RefactoringRope/CodeAssistClient.py

changeset 335
9438c2ed7732
parent 326
67bcde9c65b9
child 346
877cac2e8d94
equal deleted inserted replaced
334:fe30dc24c9e5 335:9438c2ed7732
244 244
245 try: 245 try:
246 cts = rope.contrib.codeassist.get_calltip( 246 cts = rope.contrib.codeassist.get_calltip(
247 self.__project, source, offset, resource, maxfixes=maxfixes, 247 self.__project, source, offset, resource, maxfixes=maxfixes,
248 remove_self=True) 248 remove_self=True)
249 except Exception: 249 except Exception: # secok
250 pass 250 pass
251 251
252 if cts is not None: 252 if cts is not None:
253 while '..' in cts: 253 while '..' in cts:
254 cts = cts.replace('..', '.') 254 cts = cts.replace('..', '.')
435 oldSource = params["OldSource"] 435 oldSource = params["OldSource"]
436 436
437 try: 437 try:
438 rope.base.libutils.report_change( 438 rope.base.libutils.report_change(
439 self.__project, filename, oldSource) 439 self.__project, filename, oldSource)
440 except Exception: 440 except Exception: # secok
441 # simply ignore it 441 # simply ignore it
442 pass 442 pass
443 443
444 444
445 if __name__ == '__main__': 445 if __name__ == '__main__':

eric ide

mercurial