AssistantEric/APIsManager.py

changeset 116
a109c6b8ac77
parent 107
728fde5bfdb1
child 122
d746710bfe2e
--- a/AssistantEric/APIsManager.py	Fri Feb 27 18:26:06 2015 +0100
+++ b/AssistantEric/APIsManager.py	Sun Mar 22 17:25:15 2015 +0100
@@ -874,7 +874,9 @@
                         if self.__enoughCommas(sig, commas):
                             if showContext:
                                 calltips.append("{0}{1}{2}{3}".format(
-                                    fullCtx, contextSeparator, word, sig))
+                                    fullCtx,
+                                    contextSeparator if fullCtx else "",
+                                    word, sig))
                             else:
                                 calltips.append("{0}{1}".format(word, sig))
                 del query

eric ide

mercurial