def do_collectstatic():
 try:
  build.make_collectstatic()
  return True
 except (OSError, SystemError) as ex:
  LOG.error(("Failed to collect the static files. Please fix any problem and run `%s --collectstatic'\n%s" % (PROG_NAME, ex)))
  return False

def do_collectstatic ( ) : try : build . make_collectstatic ( ) return True except ( OSError , SystemError ) as ex : LOG . error ( ( "Failed to collect the static files. Please fix any problem and run `%s --collectstatic'\n%s" % ( PROG_NAME , ex ) ) ) return False
collects the static files .