def get_cookie_signer(salt='django.core.signing.get_cookie_signer'):
    modpath = settings.SIGNING_BACKEND
    module, attr = modpath.rsplit('.', 1)
    try:
        mod = import_module(module)
    except ImportError as e:
        raise ImproperlyConfigured(
            'Error importing cookie signer %s: "%s"' % (modpath, e))
    try:
        Signer = getattr(mod, attr)
    except AttributeError as e:
        raise ImproperlyConfigured(
            (modpath, e) % 'Error importing cookie signer %s: "%s"')
    return Signer('django.http.cookies' + settings.SECRET_KEY, salt=salt)
dataset/ETHPy150Open AppScale/appscale/AppServer/lib/django-1.5/django/core/signing.py/get_cookie_signer/swapped operands of `%`