equal
deleted
inserted
replaced
352 # risk catching KeyErrors from anything other than the |
352 # risk catching KeyErrors from anything other than the |
353 # parthandlermapping lookup (any KeyError raised by handler() |
353 # parthandlermapping lookup (any KeyError raised by handler() |
354 # itself represents a defect of a different variety). |
354 # itself represents a defect of a different variety). |
355 output = None |
355 output = None |
356 if op.reply is not None: |
356 if op.reply is not None: |
357 op.ui.pushbuffer(error=True) |
357 op.ui.pushbuffer(error=True, subproc=True) |
358 output = '' |
358 output = '' |
359 try: |
359 try: |
360 handler(op, part) |
360 handler(op, part) |
361 finally: |
361 finally: |
362 if output is not None: |
362 if output is not None: |