def _add_cli_param(params, key, value):
 if (value is not None):
  params.append('--{0}={1}'.format(key, value))

def _add_cli_param ( params , key , value ) : if ( value is not None ) : params . append ( '--{0}={1}' . format ( key , value ) )
adds key and value as a command line parameter to params .