Skip to content

Commit

Permalink
"Merge pull request #437 from johnwheeler/master\n\nmax_debug_level =…
Browse files Browse the repository at this point in the history
… None for Autoprefixer filters #436"
  • Loading branch information
miracle2k committed Dec 20, 2015
2 parents 792ac80 + 76d4d52 commit 2b08a93
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/webassets/filter/autoprefixer.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,8 @@ class AutoprefixerFilter(ExternalTool):
'extra_args': 'AUTOPREFIXER_EXTRA_ARGS',
}

max_debug_level = None

def input(self, in_, out, source_path, **kw):
# Set working directory to the source file so that includes are found
args = [self.autoprefixer or 'autoprefixer']
Expand All @@ -66,6 +68,8 @@ class Autoprefixer6Filter(AutoprefixerFilter):

_postcss_autoprefixer = ['-u', 'autoprefixer']

max_debug_level = None

def input(self, in_, out, source_path, **kw):
# Set working directory to the source file so that includes are found
args = [self.autoprefixer or 'postcss']
Expand All @@ -78,4 +82,4 @@ def input(self, in_, out, source_path, **kw):
if self.extra_args:
args.extend(self.extra_args)
with working_directory(filename=source_path):
self.subprocess(args, out, in_)
self.subprocess(args, out, in_)

0 comments on commit 2b08a93

Please sign in to comment.