def get_stylesheet_list(settings):
 assert (not (settings.stylesheet and settings.stylesheet_path)), 'stylesheet and stylesheet_path are mutually exclusive.'
 stylesheets = (settings.stylesheet_path or settings.stylesheet or [])
 if (not isinstance(stylesheets, list)):
  stylesheets = [path.strip() for path in stylesheets.split(',')]
 return [find_file_in_dirs(path, settings.stylesheet_dirs) for path in stylesheets]

def get_stylesheet_list ( settings ) : assert ( not ( settings . stylesheet and settings . stylesheet_path ) ) , 'stylesheet and stylesheet_path are mutually exclusive.' stylesheets = ( settings . stylesheet_path or settings . stylesheet or [ ] ) if ( not isinstance ( stylesheets , list ) ) : stylesheets = [ path . strip ( ) for path in stylesheets . split ( ',' ) ] return [ find_file_in_dirs ( path , settings . stylesheet_dirs ) for path in stylesheets ]
retrieve list of stylesheet references from the settings object .