Show More
@@ -1167,8 +1167,15 b' def _select_shell(argv):' | |||||
1167 | special_opts = user_opts & all_opts |
|
1167 | special_opts = user_opts & all_opts | |
1168 |
|
1168 | |||
1169 | if 'twisted' in special_opts: |
|
1169 | if 'twisted' in special_opts: | |
|
1170 | if sys.platform == 'win32': | |||
1170 | import twshell |
|
1171 | import twshell | |
1171 | return twshell.IPShellTwisted |
|
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 | if 'tk' in special_opts: |
|
1179 | if 'tk' in special_opts: | |
1173 | USE_TK = True |
|
1180 | USE_TK = True | |
1174 | special_opts.remove('tk') |
|
1181 | special_opts.remove('tk') |
General Comments 0
You need to be logged in to leave comments.
Login now