Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

removed from libsass filter, as it does not appear as a named argume… #435

Merged
merged 1 commit into from
Dec 19, 2015
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 2 additions & 7 deletions src/webassets/filter/libsass.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,6 @@ class LibSass(Filter):
LIBSASS_INCLUDES (includes)
an optional list of paths to find @imported SASS/CSS source files

LIBSASS_IMAGES (images)
an optional path to find images

See libsass documentation for full documentation about these configuration
options:

Expand All @@ -46,8 +43,7 @@ class LibSass(Filter):
name = 'libsass'
options = {
'style': 'LIBSASS_STYLE',
'includes': 'LIBSASS_INCLUDES',
'images': 'LIBSASS_IMAGES',
'includes': 'LIBSASS_INCLUDES'
}
max_debug_level = None

Expand All @@ -72,7 +68,6 @@ def input(self, _in, out, **kwargs):
self.sass.compile(
filename=source_path,
output_style=self.style,
include_paths=(self.includes if self.includes else []),
image_path=(self.images if self.images else '')
include_paths=(self.includes if self.includes else [])
)
)