# avoiding synchronization issues.
(dest, name) = tempfile.mkstemp(dir=os.path.dirname(outputpath))
os.write(dest, source)
os.close(dest)
shutil.move(name, outputpath)
def _get_module_info_from_callable(callable_):
/usr/local/lib/python3.11/dist-packages/mako/template.py, line 701:
/usr/local/lib/python3.11/dist-packages/mako/template.py, line 373:
/usr/local/lib/python3.11/dist-packages/mako/template.py, line 312:
module = self._compile_from_file(path, filename)
/usr/local/lib/python3.11/dist-packages/mako/lookup.py, line 312:
self._collection[uri] = template = Template(
/usr/local/lib/python3.11/dist-packages/mako/lookup.py, line 251:
return self._load(srcfile, uri)
/opt/LazyLibrarian/lazylibrarian/webServe.py, line 242:
template = _hplookup.get_template(templatename)