From d2f62ff5499af155c516247e1602be54047f592e Mon Sep 17 00:00:00 2001 From: Mandel Olaiya Date: Sun, 3 May 2026 00:33:26 +0200 Subject: [PATCH] Revert "ci: print layout render error in template debug" This reverts commit 5359a0a5e243ad66c08740ac9cbd9d756907a030. --- scripts/run_remote_multilingual_audit.sh | 8 -------- 1 file changed, 8 deletions(-) diff --git a/scripts/run_remote_multilingual_audit.sh b/scripts/run_remote_multilingual_audit.sh index b3c7b14..d90a633 100755 --- a/scripts/run_remote_multilingual_audit.sh +++ b/scripts/run_remote_multilingual_audit.sh @@ -16,7 +16,6 @@ trap 'rm -f "$TMP_FILE" "$TMP_DEBUG"' EXIT REMOTE_DEBUG_CMD="cd '${STAGING_AUDIT_PROJECT_DIR}' && '${STAGING_AUDIT_MANAGE}' shell -c \"\ from django.template.loader import get_template; \ -from django.template import Context; \ import pathlib; \ import os; \ import mandelstudio; \ @@ -31,13 +30,6 @@ t1=get_template('carbasa/headers/header.html'); \ t2=get_template('engine/pages/base_home_page.html'); \ print('carbasa/headers/header.html -> ' + getattr(getattr(t1,'origin',None),'name','(no origin)')); \ print('engine/pages/base_home_page.html -> ' + getattr(getattr(t2,'origin',None),'name','(no origin)')); \ -try: \ - t3=get_template('layout.html'); \ - t3.render(Context({'request': None})); \ - print('render_layout_ok=True'); \ -except Exception as exc: \ - print('render_layout_ok=False'); \ - print('render_layout_error=' + repr(exc)); \ \"" REMOTE_CMD="cd '${STAGING_AUDIT_PROJECT_DIR}' && '${STAGING_AUDIT_MANAGE}' audit_locales --format=json"