quentinsf/icsv2ledger — pull request #4 by eentzel (2012-09-05 11:08:37+00:00)
Title: Fix readline with non-system pythons on OSX

Non-Apple pythons (say if you install from source or use the official python.org installer) don't have the libedit problem mentioned [here](http://docs.python.org/release/2.7.3/library/readline.html), but they do have `sys.platform == 'darwin'`, which causes icsv2ledger's tab completion not to work. This patch fixes the problem by checking for the actual presence of libedit, rather than just the darwin platform.