##// END OF EJS Templates
Fix tab-completion crash when no results were returned.
Fernando Perez -
Show More
@@ -695,6 +695,7 b' class IPCompleter(Completer):'
695 #print "try",c # dbg
695 #print "try",c # dbg
696 try:
696 try:
697 res = c(event)
697 res = c(event)
698 if res:
698 # first, try case sensitive match
699 # first, try case sensitive match
699 withcase = [r for r in res if r.startswith(text)]
700 withcase = [r for r in res if r.startswith(text)]
700 if withcase:
701 if withcase:
General Comments 0
You need to be logged in to leave comments. Login now