equal
deleted
inserted
replaced
307 # risk catching KeyErrors from anything other than the |
307 # risk catching KeyErrors from anything other than the |
308 # parthandlermapping lookup (any KeyError raised by handler() |
308 # parthandlermapping lookup (any KeyError raised by handler() |
309 # itself represents a defect of a different variety). |
309 # itself represents a defect of a different variety). |
310 output = None |
310 output = None |
311 if op.reply is not None: |
311 if op.reply is not None: |
312 op.ui.pushbuffer() |
312 op.ui.pushbuffer(error=True) |
313 output = '' |
313 output = '' |
314 try: |
314 try: |
315 handler(op, part) |
315 handler(op, part) |
316 finally: |
316 finally: |
317 if output is not None: |
317 if output is not None: |