{{{
--- a/django/utils/functional.py
+++ b/django/utils/functional.py
@@ -349,7 +349,7 @@ class SimpleLazyObject(LazyObject):
repr_attr = self._setupfunc
else:
repr_attr = self._wrapped
- return '<SimpleLazyObject: %r>' % repr_attr
+ return '<SimpleLazyObject: %r>' % (repr_attr, )
# Need to pretend to be the wrapped class, for the sake of objects
that
# care about this (especially in equality tests)
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/24454>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
* needs_better_patch: => 0
* needs_tests: => 1
* version: 1.6 => master
* easy: 0 => 1
* needs_docs: => 0
* ui_ux: 1 => 0
* stage: Unreviewed => Accepted
Comment:
A test would be nice.
--
Ticket URL: <https://code.djangoproject.com/ticket/24454#comment:1>
* owner: nobody => tino
* status: new => assigned
--
Ticket URL: <https://code.djangoproject.com/ticket/24454#comment:2>
* status: assigned => closed
* has_patch: 1 => 0
* resolution: => fixed
* needs_tests: 1 => 0
Comment:
Already fixed in 61917aa08b4ab2bc35f3ffe87b7693bd8b58e205, which is part
of 1.7 already.
--
Ticket URL: <https://code.djangoproject.com/ticket/24454#comment:3>