Commit bdb4acde by Sassan Haradji Committed by GitHub

Backward compatibility

parent db3fd2c2
...@@ -26,7 +26,7 @@ class Compiler(object): ...@@ -26,7 +26,7 @@ class Compiler(object):
def compilers(self): def compilers(self):
return [to_class(compiler) for compiler in settings.COMPILERS] return [to_class(compiler) for compiler in settings.COMPILERS]
def compile(self, paths, compiler_options, force=False): def compile(self, paths, compiler_options={}, force=False):
def _compile(input_path): def _compile(input_path):
for compiler in self.compilers: for compiler in self.compilers:
compiler = compiler(verbose=self.verbose, storage=self.storage) compiler = compiler(verbose=self.verbose, storage=self.storage)
......
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