def get_ignore_scope(line, keyword):
 toignore = line[(line.rfind(keyword) + len(keyword)):]
 if toignore.startswith('all'):
  return []
 else:
  return list(StringConverter(toignore, list_delimiters=', '))

def get_ignore_scope ( line , keyword ) : toignore = line [ ( line . rfind ( keyword ) + len ( keyword ) ) : ] if toignore . startswith ( 'all' ) : return [ ] else : return list ( StringConverter ( toignore , list_delimiters = ', ' ) )
retrieves the bears that are to be ignored defined in the given line .