mikexstudios/django-rpx-plus — pull request #31 by jwhitlock (2011-12-05 17:01:36+00:00)
Title: Bugfix for formatting problem in disassociating provider with account

We got this traceback on disassociating a provider with an account:

Traceback (most recent call last):
File "/home/jwhitlock/.virtualenvs/consumeraffairs/lib/python2.6/site-packages/django/core/servers/basehttp.py", line 674, in __call__
return self.application(environ, start_response)
File "/home/jwhitlock/.virtualenvs/consumeraffairs/lib/python2.6/site-packages/django/core/handlers/wsgi.py", line 241, in __call__
response = self.get_response(request)
File "/home/jwhitlock/.virtualenvs/consumeraffairs/lib/python2.6/site-packages/django/core/handlers/base.py", line 141, in get_response
return self.handle_uncaught_exception(request, resolver, sys.exc_info())
File "/home/jwhitlock/.virtualenvs/consumeraffairs/lib/python2.6/site-packages/django/core/handlers/base.py", line 165, in handle_uncaught_exception
return debug.technical_500_response(request, *exc_info)
File "/home/jwhitlock/.virtualenvs/consumeraffairs/lib/python2.6/site-packages/django/core/handlers/base.py", line 100, in get_response
response = callback(request, *callback_args, **callback_kwargs)
File "/home/jwhitlock/.virtualenvs/consumeraffairs/lib/python2.6/site-packages/django/contrib/auth/decorators.py", line 25, in _wrapped_view
return view_func(request, *args, **kwargs)
File "/home/jwhitlock/.virtualenvs/consumeraffairs/lib/python2.6/site-packages/django_rpx_plus/views.py", line 266, in delete_associated_login
messages.success(request, _('Your %(provider)s login was successfully deleted.') % r.provider)
File "/home/jwhitlock/.virtualenvs/consumeraffairs/lib/python2.6/site-packages/django/utils/functional.py", line 227, in __mod__
return unicode(self) % rhs
TypeError: format requires a mapping

This patch fixes it.