Mercurial > hg
comparison mercurial/i18n.py @ 28628:ed1d90f6e921
templater: do not abuse SyntaxError to report errors in template map file
SyntaxError is the class representing syntax errors in Python code. We should
use a dedicated exception class for our needs. With this change, unnecessary
re-wrapping of SyntaxError can be eliminated.
author | Yuya Nishihara <yuya@tcha.org> |
---|---|
date | Sat, 26 Mar 2016 18:01:04 +0900 |
parents | 2c07c6884394 |
children | 03d1ecbbd81e |
comparison
equal
deleted
inserted
replaced
28627:d7af9b4ae7dd | 28628:ed1d90f6e921 |
---|