Mercurial > piecrust2
comparison piecrust/templating/pystacheengine.py @ 519:9d1a89cd8146
cosmetic: Remove debug print here too.
author | Ludovic Chabant <ludovic@chabant.com> |
---|---|
date | Tue, 28 Jul 2015 18:29:41 -0700 |
parents | 96d363e2da4b |
children | 370e74941d32 |
comparison
equal
deleted
inserted
replaced
518:48fcdd967212 | 519:9d1a89cd8146 |
---|---|
37 p) | 37 p) |
38 name = p[:-9] # strip `.mustache` | 38 name = p[:-9] # strip `.mustache` |
39 try: | 39 try: |
40 tpl = self.renderer.load_template(name) | 40 tpl = self.renderer.load_template(name) |
41 except Exception as ex: | 41 except Exception as ex: |
42 print(p, ex) | 42 logger.debug("Mustache error: %s" % ex) |
43 pass | 43 pass |
44 | 44 |
45 if tpl is None: | 45 if tpl is None: |
46 raise TemplateNotFoundError() | 46 raise TemplateNotFoundError() |
47 | 47 |