def write_files()

in authz.py [0:0]


    def write_files(self):
        self.write_signal = FAR_FUTURE
        t0 = time.time()
        LOGGER.debug(f'WRITE_FILES: beginning at {t0}')
        for t, o in self.mappings.items():
            if t.startswith('/'):
                # File path. Just read it.
                template = open(t).read()
            else:
                req = requests.get(t, auth=self.auth, timeout=30)
                req.raise_for_status() # report failure
                template = req.text
            self.gen.write_file(template.splitlines(), o)

        self.gen.write_dist(self.dist_authz)

        LOGGER.debug(f'  DURATION: {time.time() - t0}')