Skip to content

Commit e105dfd

Browse files
committed
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.
1 parent 366525e commit e105dfd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

locale/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ dist:
4040
done
4141

4242
template:
43-
${XPOT} -n -o $(TEMPLATE) $(SOURCES)
43+
${XPOT} -n -o $(TEMPLATE) $(SOURCES) 2>&1 | sed -e "/: Unexpected in Python source: #64 \`@'/d"
4444

4545
${RUN_PYTHON} ../roundup/cgi/TAL/talgettext.py -u $(TEMPLATE) \
4646
../share/roundup/templates/classic/html/*.html \

0 commit comments

Comments
 (0)