Commit c454e619 by Timothée Peignier

remove verbose when it's a source of bug

parent 3d4fdb3a
...@@ -10,6 +10,4 @@ class CoffeeScriptCompiler(SubProcessCompiler): ...@@ -10,6 +10,4 @@ class CoffeeScriptCompiler(SubProcessCompiler):
def compile_file(self, content): def compile_file(self, content):
command = "%s -sc %s" % (settings.PIPELINE_COFFEE_SCRIPT_BINARY, settings.PIPELINE_COFFEE_SCRIPT_ARGUMENTS) command = "%s -sc %s" % (settings.PIPELINE_COFFEE_SCRIPT_BINARY, settings.PIPELINE_COFFEE_SCRIPT_ARGUMENTS)
if self.verbose:
command += '--verbose'
return self.execute_command(command, content) return self.execute_command(command, content)
...@@ -5,8 +5,6 @@ from pipeline.compressors import SubProcessCompressor ...@@ -5,8 +5,6 @@ from pipeline.compressors import SubProcessCompressor
class YUICompressor(SubProcessCompressor): class YUICompressor(SubProcessCompressor):
def compress_common(self, content, type_, arguments): def compress_common(self, content, type_, arguments):
command = '%s --type=%s %s' % (settings.PIPELINE_YUI_BINARY, type_, arguments) command = '%s --type=%s %s' % (settings.PIPELINE_YUI_BINARY, type_, arguments)
if self.verbose:
command += ' --verbose'
return self.execute_command(command, content) return self.execute_command(command, content)
def compress_js(self, js): def compress_js(self, js):
......
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