boundary/relay_get_output.py
def _dump_text(self):
        """
        Send output in textual format
        """
        results = self._relay_output['result'];

        for l in results:
            dt = time.strftime("%Y-%m-%dT%H:%M:%SZ", time.gmtime(int(l[1]['ts'])))
            print("{0} {1} {2} {3}".format(l[0], dt, l[1]['type'], l[1]['msg']))
def _dump_text(self):
        """
        Send output in textual format
        """
        results = self._relay_output['result'];

        for l in results:
            dt = time.strftime("%Y-%m-%dT%H:%M:%SZ", time.gmtime(int(l[1]['ts'])))
            print("{0} {1} {2} {3}".format(l[0], dt, l[1]['type'], l[1]['msg']))
def _dump_text ( self ) : results = self . _relay_output [ 'result' ] for l in results : dt = time . strftime ( "%Y-%m-%dT%H:%M:%SZ" , time . gmtime ( int ( l [ 1 ] [ 'ts' ] ) ) ) print ( "{0} {1} {2} {3}" . format ( l [ 0 ] , dt , l [ 1 ] [ 'type' ] , l [ 1 ] [ 'msg' ] ) )
Send output in textual format
Send output in textual format