ipython/ipython — pull request #1284 by ivanov (2012-01-18 00:30:28+00:00)
Title: a fix for GH 1269

Here's a test and fix for #1269. I originally thought the fix was going to be in `magic.py`, and went ahead and fixed the typos in that file, but it turned out that the fix ended up going into `_process_common.py` - hope that's ok.