Esempio n. 1
0
 def __init__(self, manifest):
     super().__init__()
     self._entries = {
         k: JinjaManifestEntry(entry.name,
                               self._rewrite_paths(entry._paths))
         for k, entry in manifest._entries.items()
     }
     self.used_assets = set()
Esempio n. 2
0
 def __getattr__(self, name):
     """Get a manifest entry."""
     return JinjaManifestEntry(name, [name])
Esempio n. 3
0
 def __getitem__(self, key):
     """Get a manifest entry."""
     return JinjaManifestEntry(key, [key])