Fix completion when importing modules in the cwd. #1463

Merged
merged 1 commit into from Mar 3, 2012

Conversation

Projects
None yet
2 participants
Owner

takluyver commented Mar 1, 2012

While testing #1447, I found that tab completing import fo<TAB> when foo.py is in the current directory wasn't working. There's a mismatch between the representation of the cwd in sys.path (as '') and that required for isdir and listdir ('.').

Owner

minrk commented Mar 3, 2012

If merging this won't conflict with #1447, go for it.

Owner

takluyver commented Mar 3, 2012

Shouldn't do. Merging this now.

takluyver merged commit 8c403fa into ipython:master Mar 3, 2012

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment