ipython/ipython — pull request #5390 by minrk (2014-03-19 23:24:50+00:00)
Title: finish PR #5333

The missing bit was listdir being called on files, not just dirs