'Writing the in-memory configuration to the hgweb.config file on disk.'

def write_config(self):

    config_file = open(self.hgweb_config, 'wb')
    self.in_memory_config.write(config_file)
    config_file.close
