##// END OF EJS Templates
Fixed autoedit_syntax == 2 idiocy
vivainio -
Show More
@@ -6,7 +6,7 b' Requires Python 2.3 or newer.'
6
6
7 This file contains all the classes and helper functions specific to IPython.
7 This file contains all the classes and helper functions specific to IPython.
8
8
9 $Id: iplib.py 1111 2006-01-30 21:16:07Z vivainio $
9 $Id: iplib.py 1117 2006-01-31 21:02:45Z vivainio $
10 """
10 """
11
11
12 #*****************************************************************************
12 #*****************************************************************************
@@ -1220,7 +1220,7 b' want to merge them back into the new files.""" % locals()'
1220
1220
1221 return False
1221 return False
1222 try:
1222 try:
1223 if (self.rc.autoedit_syntax != 2 and
1223 if (self.rc.autoedit_syntax and
1224 not ask_yes_no('Return to editor to correct syntax error? '
1224 not ask_yes_no('Return to editor to correct syntax error? '
1225 '[Y/n] ','y')):
1225 '[Y/n] ','y')):
1226 return False
1226 return False
General Comments 0
You need to be logged in to leave comments. Login now