def __init__(self, message):
        "ValidationError can be passed a string or a list."
        if isinstance(message, list):
            self.messages = ErrorList([smart_unicode(msg) for msg in message])
        else:
            assert isinstance(message, basestring), (repr(message) % "%s should be a basestring")
            message = smart_unicode(message)
            self.messages = ErrorList([message])
dataset/ETHPy150Open AppScale/appscale/AppServer/lib/django-0.96/django/newforms/util.py/ValidationError.__init__/swapped operands of `%`