code: def load_config(deploy_dir):
      '''
      Loads any local config.py file.
      '''
  
      config = Config()
      config_filename = path.join(deploy_dir, 'config.py')
  
      if path.exists(config_filename):
          extract_file_config(config_filename, config)
  
          # Now execute the file to trigger loading of any hooks
          exec_file(config_filename)
  
      return confif load_config(deploy_dir):
      '''
      Loads any local config.py file.
      '''
  
      config = Config()
      config_filename = path.join(deploy_dir, 'config.py')
  
      if path.exists(config_filename):
          extract_file_config(config_filename, config)
  
          # Now execute the file to trigger loading of any hooks
          exec_file(config_filename)
  
      return config
docs: Loads any local config.py file.