def generate_css_from_sass(self, css_file, sass_file):
        if not self.process_args:
            log.info(
                'Not generating files since {0!r} is not executable'.format(
                    self.sass_bin_path
                )
            )
            return
        if not os.path.isfile(css_file):
            css_mtime = -1
        else:
            css_mtime = os.path.getmtime(css_file)

        sass_mtime = os.path.getmtime(sass_file)
        if sass_mtime >= css_mtime:
            log.info("Generating %s from %s",
                     os.path.basename(css_file),
                     os.path.basename(sass_file))
            args = self.process_args + [sass_file, css_file]
            log.debug("Subprocess call \"%s\"", ' '.join(args))
            try:
                retcode = subprocess.call(args, shell=False)
                if retcode != 0:
                    log.error("Failed to compile %s", sass_file)
                    if os.path.isfile(css_file):
                        os.remove(css_file)
            except __HOLE__, err:
                log.exception(err)
                if os.path.isfile(css_file):
                    os.remove(css_file)
dataset/ETHPy150Open UfSoft/Flask-Sass/flask_sass.py/Sass.generate_css_from_sass