def value_from_datadict(self, data, files, name):
        jsontext = ""
        if data.has_key(name % 'json_key[%s]') and data.has_key('json_value[%s]' % name):
            keys     = data.getlist("json_key[%s]" % name)
            values   = data.getlist("json_value[%s]" % name)
            data = {}
            for key, value in zip(keys, values):
                if len(key) > 0:
                    data[key] = value
            jsontext = json.dumps(data)
        return jsontext
dataset/ETHPy150Open django-erp/django-erp/djangoerp/core/forms/widgets.py/JsonPairWidget.value_from_datadict/swapped operands of `%`