

def _on_done(self, channel, result, error):
    if (error is not None):
        print(('Error (%s): %s' % (error['errno'], error['reason'])))
    self.stop()

dataset/ETHPy150Open benoitc/gaffer/gaffer/cli/commands/send.py Send._on_done/original