# HG changeset patch # User John Rouillard # Date 1685059647 14400 # Node ID eef12ab01f514a00f8a612c1dc8ce33e36e91d02 # Parent dce8f7799ecbeeb0a5bcf146a3bf3f9ac5901d67 filter output of xpot. decorators not recognized Apparently python decorators are not recognized by xpot. So it throws a bunch of errors like ../roundup/rate_limit.py:15: Unexpected in Python source: #64 `@' Remove them with sed so we don't miss real errors. diff -r dce8f7799ecb -r eef12ab01f51 locale/Makefile --- a/locale/Makefile Thu May 25 19:58:36 2023 -0400 +++ b/locale/Makefile Thu May 25 20:07:27 2023 -0400 @@ -40,7 +40,7 @@ done template: - ${XPOT} -n -o $(TEMPLATE) $(SOURCES) + ${XPOT} -n -o $(TEMPLATE) $(SOURCES) 2>&1 | sed -e "/: Unexpected in Python source: #64 \`@'/d" ${RUN_PYTHON} ../roundup/cgi/TAL/talgettext.py -u $(TEMPLATE) \ ../share/roundup/templates/classic/html/*.html \