code: def _exclude_patterns_file_entries(src):
      try:
          f = open(src)
      except FileNotFoundError:
          return []
      else:
          with f:
              lines = [line.strip() for line in f]
          return [
              line
              for line in lines
              if line and not line.startswith("#")
          ]
  
imports: import collections
  import logging
  import re
  import os
  import subprocess
  from guild import config
  from guild import file_util
  from guild import util
  from guild.file_util import FileSelectRule
label_desc: Use image node_id 25 for calling a global function with example usage: _exclude_patterns_file_entries(src) and returns: unknown, list