##// END OF EJS Templates
Don't make it configurable
Jessica B. Hamrick -
Show More
@@ -26,11 +26,6 b' class ExecutePreprocessor(Preprocessor):'
26 26 help="The time to wait (in seconds) for output from executions."
27 27 )
28 28
29 allow_stdin = Bool(
30 False, config=True,
31 help="Whether stdin should be enabled when executing cells"
32 )
33
34 29 extra_arguments = List(Unicode)
35 30
36 31 def preprocess(self, nb, resources):
@@ -41,7 +36,7 b' class ExecutePreprocessor(Preprocessor):'
41 36 extra_arguments=self.extra_arguments,
42 37 stderr=open(os.devnull, 'w')) as kc:
43 38 self.kc = kc
44 self.kc.allow_stdin = self.allow_stdin
39 self.kc.allow_stdin = False
45 40 nb, resources = super(ExecutePreprocessor, self).preprocess(nb, resources)
46 41 return nb, resources
47 42
General Comments 0
You need to be logged in to leave comments. Login now