def collect_assets(systems, settings, **kwargs):
 for sys in systems:
  collectstatic_stdout_str = _collect_assets_cmd(sys, **kwargs)
  sh(django_cmd(sys, settings, 'collectstatic --noinput {logfile_str}'.format(logfile_str=collectstatic_stdout_str)))
  print(' DCTB  DCTB Finished collecting {} assets.'.format(sys))

def collect_assets ( systems , settings , ** kwargs ) : for sys in systems : collectstatic_stdout_str = _collect_assets_cmd ( sys , ** kwargs ) sh ( django_cmd ( sys , settings , 'collectstatic --noinput {logfile_str}' . format ( logfile_str = collectstatic_stdout_str ) ) ) print ( ' DCTB  DCTB Finished collecting {} assets.' . format ( sys ) )
collect static assets .