Commit ae1dacd8 by Timothée Peignier

fix manifest code. close #143

parent 07ba8d66
try: try:
from staticfiles.finders import DefaultStorageFinder from staticfiles.finders import DefaultStorageFinder
except ImportError: except ImportError:
from django.contrib.staticfiles.storage import DefaultStorageFinder # noqa from django.contrib.staticfiles.finders import DefaultStorageFinder # noqa
from django.conf import settings from django.conf import settings
...@@ -38,5 +38,5 @@ class PipelineManifest(Manifest): ...@@ -38,5 +38,5 @@ class PipelineManifest(Manifest):
for package in self.packages: for package in self.packages:
for path in self.packager.compile(package.paths): for path in self.packager.compile(package.paths):
yield str(self.packager.individual_url(path)) yield str(self.packager.individual_url(path))
for path in self.finder.list(ignore_patterns): for path, _ in self.finder.list(ignore_patterns):
yield str(self.packager.individual_url(path)) yield str(self.packager.individual_url(path))
Markdown is supported
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