changeset 42:e0e1a339070c

print which formmaters werent available
author Jeff Hammel <jhammel@mozilla.com>
date Wed, 01 Sep 2010 07:14:10 -0700
parents 8ba2f1087880
children 8621a6e2fe38
files decoupage/web.py
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/decoupage/web.py	Wed Jun 30 22:33:59 2010 -0700
+++ b/decoupage/web.py	Wed Sep 01 07:14:10 2010 -0700
@@ -59,7 +59,8 @@
                 if template_dir not in self.template_directories and os.path.isdir(template_dir):
                     self.template_directories.append(template_dir)
             except:
-                continue # XXX should probably raise
+                print "Couldn't load formatter: %s" % formatter
+                continue 
             self.formatters[formatter.name] = _formatter
         
         # template loader