def ensure_osf_files(settings):
 settings.COPY_GIT_REPOS = True
 if ('osffiles' not in settings.ADDONS_REQUESTED):
  settings.ADDONS_REQUESTED.append('osffiles')

def ensure_osf_files ( settings ) : settings . COPY_GIT_REPOS = True if ( 'osffiles' not in settings . ADDONS_REQUESTED ) : settings . ADDONS_REQUESTED . append ( 'osffiles' )
ensure osffiles is enabled for access to legacy models .