#NEWLINE# def _debug_string( self , debug , data ) : #NEWLINE# #INDENT# '\n        Annotate a frames data, if debug is True.\n        ' #NEWLINE# if ( not debug ) : #NEWLINE# #INDENT# return data #NEWLINE# #UNINDENT# if ( self . command in [ SLOT . CONFIG , SLOT . CONFIG2 , SLOT . UPDATE1 , SLOT . UPDATE2 , SLOT . SWAP ] ) : #NEWLINE# #INDENT# if ( yubico_util . ord_byte ( data [ ( - 1 ) ] ) == 128 ) : #NEWLINE# #INDENT# return ( data , 'FFFFFFF' ) #NEWLINE# #UNINDENT# if ( yubico_util . ord_byte ( data [ ( - 1 ) ] ) == 129 ) : #NEWLINE# #INDENT# return ( data , 'FFFFFFF' ) #NEWLINE# #UNINDENT# if ( yubico_util . ord_byte ( data [ ( - 1 ) ] ) == 130 ) : #NEWLINE# #INDENT# return ( data , 'FFUUUUU' ) #NEWLINE# #UNINDENT# if ( yubico_util . ord_byte ( data [ ( - 1 ) ] ) == 131 ) : #NEWLINE# #INDENT# return ( data , 'UKKKKKK' ) #NEWLINE# #UNINDENT# if ( yubico_util . ord_byte ( data [ ( - 1 ) ] ) == 132 ) : #NEWLINE# #INDENT# return ( data , 'KKKKKKK' ) #NEWLINE# #UNINDENT# if ( yubico_util . ord_byte ( data [ ( - 1 ) ] ) == 133 ) : #NEWLINE# #INDENT# return ( data , 'KKKAAAA' ) #NEWLINE# #UNINDENT# if ( yubico_util . ord_byte ( data [ ( - 1 ) ] ) == 134 ) : #NEWLINE# #INDENT# return ( data , 'AAlETCr' ) #NEWLINE# #UNINDENT# if ( yubico_util . ord_byte ( data [ ( - 1 ) ] ) == 135 ) : #NEWLINE# #INDENT# return ( data , 'rCRaaaa' ) #NEWLINE# #UNINDENT# if ( yubico_util . ord_byte ( data [ ( - 1 ) ] ) == 136 ) : #NEWLINE# #INDENT# return ( data , 'aa' ) #NEWLINE# #UNINDENT# if ( yubico_util . ord_byte ( data [ ( - 1 ) ] ) == 137 ) : #NEWLINE# #INDENT# return ( data , ' Scr' ) #NEWLINE# #UNINDENT# #UNINDENT# return ( data , '' )