def get_framework_paths(self):
        run = ['ruby', PATHS_SCRIPT]
        run.extend(sass.SASS_FRAMEWORKS)
        try:
            cmd = Popen(run, universal_newlines=True,
                        stdin=PIPE, stdout=PIPE, stderr=PIPE)
            output, error = cmd.communicate()
            assert cmd.wait() == 0, error % 'Command returned bad result:\n%s'
            return map(os.path.abspath, filter(None, output.split('\n')))
        except Exception, e:
            raise ValueError("Failed to execute an internal Ruby script. "
                "Please make sure that you have installed Ruby "
                "(http://ruby-lang.org), Sass (http://sass-lang.com), and "
                "Compass (http://compass-style.org).\n"
                "Error was: %s" % e)
dataset/ETHPy150Open adieu/django-mediagenerator/mediagenerator/management/commands/importsassframeworks.py/Command.get_framework_paths/swapped operands of `%`