old_contents: #!/usr/bin/env python
  try:
      import configparser  # pylint: disable=F0401
  except ImportError:
      import ConfigParser as configparser
  import sys
  import os
  
  _SCRIPT_NAME = os.path.split(sys.argv[0])[-1]
  
  def errstream(msg):
      sys.stderr.write('{n}: ERROR: {m}\n'.format(n=_SCRIPT_NAME, m=msg))
  
  if __name__ == '__main__':
      import argparse
      import os
      description = 'Reads the config file, validates options, and supports writing out options individually'
      parser = argparse.ArgumentParser(prog='suppress-dubious', description=description)
      parser.add_argument('--config',
                          default='config',
                          type=str,
                          required=False,
                          help='filepath of the config file (default is "config")')
      parser.add_argument('--property',
                          default=None,
                          type=str,
                          required=False,
  #                        choices=('cleaning_flags', ),
                          help='which property value should be printed, as in taxonomy.cleaning_flags.')
      args = parser.parse_args(sys.argv[1:])
      cf = args.config
      prop = args.property
      props = prop.split('.')
      if (len(props) != 2):
          errstream("Property '{}' should be of the form section.name".format(prop))
      p = configparser.RawConfigParser()
      try:
          p.read(cf)
      except:
          errstream('problem reading "{}"'.format(cf))
          raise
      try:
          value = p.get(props[0], props[1]).strip()
      except:
          errstream('Could not find a [{}] section with a valid "{}" setting.'.format(props[0],props[1]))
          raise
      if prop is None:
          sys.exit(0)
      print value
  
new_contents: #!/usr/bin/env python
  try:
      import configparser  # pylint: disable=F0401
  except ImportError:
      import ConfigParser as configparser
  import sys
  import os
  
  _SCRIPT_NAME = os.path.split(sys.argv[0])[-1]
  
  def errstream(msg):
      sys.stderr.write('{n}: ERROR: {m}\n'.format(n=_SCRIPT_NAME, m=msg))
  
  if __name__ == '__main__':
      import argparse
      import os
      description = 'Reads the config file, validates options, and supports writing out options individually'
      parser = argparse.ArgumentParser(prog='suppress-dubious', description=description)
      parser.add_argument('--config',
                          default='config',
                          type=str,
                          required=False,
                          help='filepath of the config file (default is "config")')
      parser.add_argument('--property',
                          default=None,
                          type=str,
                          required=False,
  #                        choices=('cleaning_flags', ),
                          help='which property value should be printed, as in taxonomy.cleaning_flags.')
      args = parser.parse_args(sys.argv[1:])
      cf = args.config
      prop = args.property
      props = prop.split('.')
      if (len(props) != 2):
          errstream("Property '{}' should be of the form section.name".format(prop))
      p = configparser.SafeConfigParser()
      try:
          p.read(cf)
      except:
          errstream('problem reading "{}"'.format(cf))
          raise
      try:
          value = p.get(props[0], props[1]).strip()
      except:
          errstream('Could not find a [{}] section with a valid "{}" setting.'.format(props[0],props[1]))
          raise
      if prop is None:
          sys.exit(0)
      print value
  
subject: Enable interpolation.