##// END OF EJS Templates
Do not use `is` for string comparison
Adrian -
Show More
@@ -265,7 +265,7 b' class TerminalInteractiveShell(InteractiveShell):'
265 Token.Prompt: '#009900',
265 Token.Prompt: '#009900',
266 Token.PromptNum: '#00ff00 bold',
266 Token.PromptNum: '#00ff00 bold',
267 }
267 }
268 if name is 'default':
268 if name == 'default':
269 style_cls = get_style_by_name('default')
269 style_cls = get_style_by_name('default')
270 # The default theme needs to be visible on both a dark background
270 # The default theme needs to be visible on both a dark background
271 # and a light background, because we can't tell what the terminal
271 # and a light background, because we can't tell what the terminal
General Comments 0
You need to be logged in to leave comments. Login now