old_contents: """
  Configuration file for meerkat_nest
  
  This configuration file sets up application level configurations
  and imports the country specific configurations.
  
  Many of the application level configurations can be overwritten by
  environemental variables:
  
  MEERKAT_NEST_DB_URL: db_url
  
  COUNTRY_CONFIG_DIR: path to directory with country config
  
  COUNTRY_CONFIG: name of country config file
  
  """
  import os
  from meerkat_nest.country_config import demo_config
  
  # Application config
  #config_directory = os.environ("COUNTRY_CONFIG_DIR")
  
  # Country config
  #country_config_file = os.environ("COUNTRY_CONFIG")
  country_config = demo_config.country_config
  
  SQS_ENDPOINT = 'http://tunnel:9324'
  LOCAL = True
  
  class Config(object):
      DEBUG = True
      TESTING = False
  
      
  class Production(Config):
      DEBUG = False
      TESTING = False
  
  class Development(Config):
      DEBUG = True
      TESTING = True
  
  class Testing(Config):
      DEBUG = False
      TESTING = True
  
new_contents: """
  Configuration file for meerkat_nest
  
  This configuration file sets up application level configurations
  and imports the country specific configurations.
  
  Many of the application level configurations can be overwritten by
  environemental variables:
  
  MEERKAT_NEST_DB_URL: db_url
  
  COUNTRY_CONFIG_DIR: path to directory with country config
  
  COUNTRY_CONFIG: name of country config file
  
  """
  import os
  from meerkat_nest.country_config import demo_config
  
  # Application config
  #config_directory = os.environ("COUNTRY_CONFIG_DIR")
  
  # Country config
  #country_config_file = os.environ("COUNTRY_CONFIG")
  country_config = demo_config.country_config
  
  SQS_ENDPOINT = 'http://tunnel:9324'
  
  class Config(object):
      DEBUG = True
      TESTING = False
      LOCAL = True
      
  class Production(Config):
      DEBUG = False
      TESTING = False
      LOCAL = False
  
  class Development(Config):
      DEBUG = True
      TESTING = True
  
  class Testing(Config):
      DEBUG = False
      TESTING = True
  
subject: refactor configs