From 20fe4061aa2adf4771f110f1de942a325d8f4ee6 2013-01-05 12:21:36
From: mr.Shu <mr@shu.io>
Date: 2013-01-05 12:21:36
Subject: [PATCH] fixed variable name change

---

diff --git a/IPython/frontend/terminal/interactiveshell.py b/IPython/frontend/terminal/interactiveshell.py
index bc5048a..b9a5ef4 100644
--- a/IPython/frontend/terminal/interactiveshell.py
+++ b/IPython/frontend/terminal/interactiveshell.py
@@ -728,7 +728,7 @@ class TerminalInteractiveShell(InteractiveShell):
 
     def showindentationerror(self):
         super(TerminalInteractiveShell, self).showindentationerror()
-        if not self.using_magics:
+        if not self.using_paste_magics:
             print("If you want to paste code into IPython, try the "
                 "%paste and %cpaste magic functions.")