#NEWLINE# def write_device_config( self , device_config ) : #NEWLINE# #INDENT# '\n        Write a DEVICE_CONFIG to the YubiKey NEO.\n        ' #NEWLINE# if ( not self . capabilities . have_usb_mode ( device_config . _mode ) ) : #NEWLINE# #INDENT# raise yubikey_base . YubiKeyVersionError ( ( 'USB mode: %02x not supported for %s' % ( device_config . _mode , self ) ) ) #NEWLINE# #UNINDENT# return self . _device . _write_config ( device_config , SLOT . DEVICE_CONFIG )