Show More
@@ -472,7 +472,7 class InteractiveShell(SingletonConfigurable, Magic): | |||
|
472 | 472 | |
|
473 | 473 | If called with no arguments, it acts as a toggle.""" |
|
474 | 474 | |
|
475 | if not self.has_readline: | |
|
475 | if value != 0 and not self.has_readline: | |
|
476 | 476 | if os.name == 'posix': |
|
477 | 477 | warn("The auto-indent feature requires the readline library") |
|
478 | 478 | self.autoindent = 0 |
@@ -86,6 +86,9 class ZMQInteractiveShell(InteractiveShell): | |||
|
86 | 86 | # to the terminal frontend. |
|
87 | 87 | colors_force = CBool(True) |
|
88 | 88 | readline_use = CBool(False) |
|
89 | # autoindent has no meaning in a zmqshell, and attempting to enable it | |
|
90 | # will print a warning in the absence of readline. | |
|
91 | autoindent = CBool(False) | |
|
89 | 92 | |
|
90 | 93 | exiter = Instance(ZMQExitAutocall) |
|
91 | 94 | def _exiter_default(self): |
General Comments 0
You need to be logged in to leave comments.
Login now