Commit a58f2ba8 authored by Nicolas Dandrimont's avatar Nicolas Dandrimont 🤔
Browse files

Do not munge plugin rendering failures

parent 0f1b0052
...@@ -103,10 +103,7 @@ class PackageInfo(OrmObject): ...@@ -103,10 +103,7 @@ class PackageInfo(OrmObject):
# No template file found, something weird happened # No template file found, something weird happened
return "%s (!! no template found)" % self.data return "%s (!! no template found)" % self.data
try: rendered_data = template.render(o = self, h = debexpo.lib.helpers)
rendered_data = template.render(o = self, h = debexpo.lib.helpers)
except Exception, e:
rendered_data = "%s (!! %r)" % (self.data, e)
return rendered_data return rendered_data
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment