old_contents: """Compile `Handlebars <http://handlebarsjs.com/>`_ templates.
  
  This filter assumes that the ``handlebars`` executable is in the path.
  Otherwise, you may define a ``HANDLEBARS_BIN`` setting.
  """
  
  import subprocess
  
  from webassets.exceptions import FilterError
  from webassets.filter import Filter
  
  
  __all__ = ('HandlebarsFilter',)
  
  
  class HandlebarsFilter(Filter):
  
      name = 'handlebars'
  
      def setup(self):
          self.binary = self.get_config(
              'HANDLEBARS_BIN', require=False) or 'handlebars'
          self._paths = []
  
      def input(self, _in, out, source_path, output_path):
          args = [self.binary, source_path]
          proc = subprocess.Popen(
              args, stdin=subprocess.PIPE,
              stdout=subprocess.PIPE,
              stderr=subprocess.PIPE)
          stdout, stderr = proc.communicate()
  
          if proc.returncode != 0:
              raise FilterError(('handlebars: subprocess had error: stderr=%s, '+
                                 'stdout=%s, returncode=%s') % (
                                      stderr, stdout, proc.returncode))
          out.write(stdout.strip() + ';')
  
new_contents: """Compile `Handlebars <http://handlebarsjs.com/>`_ templates.
  
  This filter assumes that the ``handlebars`` executable is in the path.
  Otherwise, you may define a ``HANDLEBARS_BIN`` setting.
  """
  
  import subprocess
  
  from webassets.exceptions import FilterError
  from webassets.filter import Filter
  
  
  __all__ = ('HandlebarsFilter',)
  
  
  class HandlebarsFilter(Filter):
  
      name = 'handlebars'
  
      def setup(self):
          self.binary = self.get_config(
              'HANDLEBARS_BIN', require=False) or 'handlebars'
  
      def input(self, _in, out, source_path, output_path):
          args = [self.binary, source_path]
          proc = subprocess.Popen(
              args, stdin=subprocess.PIPE,
              stdout=subprocess.PIPE,
              stderr=subprocess.PIPE)
          stdout, stderr = proc.communicate()
  
          if proc.returncode != 0:
              raise FilterError(('handlebars: subprocess had error: stderr=%s, '+
                                 'stdout=%s, returncode=%s') % (
                                      stderr, stdout, proc.returncode))
          out.write(stdout.strip() + ';')
  
subject: Remove unused self._paths