local_ip. Route handler or application helper. This docstring was expanded to make future maintenance easier. Returns: Varies.
()
| 16843 | for a in att_rows: |
| 16844 | atts_by_entry.setdefault(a["entry_id"], []).append(dict(a)) |
| 16845 | |
| 16846 | tmp_dir = os.path.join(BASE_DIR, "_tmp_profiler_export") |
| 16847 | if os.path.isdir(tmp_dir): |
| 16848 | shutil.rmtree(tmp_dir, ignore_errors=True) |
| 16849 | os.makedirs(tmp_dir, exist_ok=True) |
| 16850 | |
| 16851 | att_out_root = os.path.join(tmp_dir, "attachments") |
| 16852 | os.makedirs(att_out_root, exist_ok=True) |
| 16853 | |
| 16854 | for r in entries: |
| 16855 | try: |
| 16856 | first = aesgcm_decrypt_text(r["first_enc"]) |
| 16857 | last = aesgcm_decrypt_text(r["last_enc"]) |
| 16858 | info = aesgcm_decrypt_text(r["info_enc"]) |
| 16859 | except Exception: |
| 16860 | continue |
| 16861 | |
| 16862 | item = { |
| 16863 | "first": first, |
| 16864 | "last": last, |
| 16865 | "info": info, |
no outgoing calls
no test coverage detected