##// END OF EJS Templates
Disable -twisted on non-win32 platforms
Ville M. Vainio -
Show More
@@ -1167,8 +1167,15 b' def _select_shell(argv):'
1167 1167 special_opts = user_opts & all_opts
1168 1168
1169 1169 if 'twisted' in special_opts:
1170 import twshell
1171 return twshell.IPShellTwisted
1170 if sys.platform == 'win32':
1171 import twshell
1172 return twshell.IPShellTwisted
1173 else:
1174 error('-twisted currently only works on win32. Starting normal IPython.')
1175 special_opts.remove('twisted')
1176 return IPShell
1177
1178
1172 1179 if 'tk' in special_opts:
1173 1180 USE_TK = True
1174 1181 special_opts.remove('tk')
General Comments 0
You need to be logged in to leave comments. Login now