def _collect_assets_cmd(system, **kwargs):
 try:
  if (kwargs[COLLECTSTATIC_LOG_DIR_ARG] is None):
   collectstatic_stdout_str = ''
  else:
   collectstatic_stdout_str = '> {output_dir}/{sys}-collectstatic.log'.format(output_dir=kwargs[COLLECTSTATIC_LOG_DIR_ARG], sys=system)
 except KeyError:
  collectstatic_stdout_str = '> /dev/null'
 return collectstatic_stdout_str

def _collect_assets_cmd ( system , ** kwargs ) : try : if ( kwargs [ COLLECTSTATIC_LOG_DIR_ARG ] is None ) : collectstatic_stdout_str = '' else : collectstatic_stdout_str = '> {output_dir}/{sys}-collectstatic.log' . format ( output_dir = kwargs [ COLLECTSTATIC_LOG_DIR_ARG ] , sys = system ) except KeyError : collectstatic_stdout_str = '> /dev/null' return collectstatic_stdout_str
returns the collecstatic command to be used for the given system unless specified .