Skip to content

Commit

Permalink
Merge pull request #1 from takluyver/frontend-logging
Browse files Browse the repository at this point in the history
Frontend logging
  • Loading branch information
omazapa committed May 6, 2011
2 parents a86cb3d + 2873cab commit b4fdc33
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions IPython/frontend/terminal/completer.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,10 @@ def complete(self, text, state):
self.matches = []
print('WARNING: Kernel timeout on tab completion.')
#print self.matches
return self.matches
try:
return self.matches[state]
except IndexError:
return None




0 comments on commit b4fdc33

Please sign in to comment.