Don't fail silently when inline resources aren't available
@@ -262,11 +262,8 @@ class BaseResources(object):
def _inline(self, path):
begin = "/* BEGIN %s */" % basename(path)
- try:
with open(path, 'rb') as f:
middle = f.read().decode("utf-8")
- except IOError:
- middle = ""
end = "/* END %s */" % basename(path)
return "%s\n%s\n%s" % (begin, middle, end)
