AssistantEric/APIsManager.py

changeset 116
a109c6b8ac77
parent 107
728fde5bfdb1
child 122
d746710bfe2e
equal deleted inserted replaced
115:5dd8c9180803 116:a109c6b8ac77
872 sig = sig.replace(discard, "", 1) 872 sig = sig.replace(discard, "", 1)
873 sig = sig.strip(", \t\r\n") 873 sig = sig.strip(", \t\r\n")
874 if self.__enoughCommas(sig, commas): 874 if self.__enoughCommas(sig, commas):
875 if showContext: 875 if showContext:
876 calltips.append("{0}{1}{2}{3}".format( 876 calltips.append("{0}{1}{2}{3}".format(
877 fullCtx, contextSeparator, word, sig)) 877 fullCtx,
878 contextSeparator if fullCtx else "",
879 word, sig))
878 else: 880 else:
879 calltips.append("{0}{1}".format(word, sig)) 881 calltips.append("{0}{1}".format(word, sig))
880 del query 882 del query
881 finally: 883 finally:
882 db.commit() 884 db.commit()

eric ide

mercurial