comparison MoinMoin/support/werkzeug/debug/console.py @ 6129:7f12cf241d5e

update werkzeug to 0.12.1, update CHANGES
author Thomas Waldmann <tw AT waldmann-edv DOT de>
date Tue, 11 Apr 2017 22:42:23 +0200
parents 9f12f41504fc
children
comparison
equal deleted inserted replaced
6128:561b7a9c2bd9 6129:7f12cf241d5e
171 else: 171 else:
172 self.more = False 172 self.more = False
173 del self.buffer[:] 173 del self.buffer[:]
174 finally: 174 finally:
175 output = ThreadedStream.fetch() 175 output = ThreadedStream.fetch()
176 return prompt + source + output 176 return prompt + escape(source) + output
177 177
178 def runcode(self, code): 178 def runcode(self, code):
179 try: 179 try:
180 eval(code, self.globals, self.locals) 180 eval(code, self.globals, self.locals)
181 except Exception: 181 except Exception: