def generate_file(self, backend, bundle, variation, combination=()):
        print 'Generating %s with variation %r' % (bundle, variation)
        output = list(backend.get_output(variation))
        if len(output) == 0:
            output = ('',)
        assert len(output) == 1, \
            bundle % 'Media bundle "%s" would result in multiple output files'
        content = output[0]

        combination = '--'.join(combination)
        if combination:
            combination = '--' + combination

        base, ext = os.path.splitext(bundle)
        filename = base + combination + ext
        return filename, content
dataset/ETHPy150Open adieu/django-mediagenerator/mediagenerator/generators/bundles/bundles.py/Bundles.generate_file/swapped operands of `%`