Opened 11 years ago
Closed 11 years ago
#944 closed defect (fixed)
[PATCH] Add repr for Collection and CollectionItem
| Reported by: | Odin Hørthe Omdal (Velmont) | Owned by: | |
|---|---|---|---|
| Priority: | minor | Milestone: | |
| Component: | programming | Keywords: | |
| Cc: | Christopher Allan Webber, Elrond | Parent Tickets: |
Description
I was debugging some things and this was very helpful to me.
It might be to others too :)
Attachments (1)
Change History (7)
by , 11 years ago
| Attachment: | 0001-Add-__repr__-for-Collection-and-CollectionItem.patch added |
|---|
comment:1 by , 11 years ago
| Status: | new → review |
|---|
comment:2 by , 11 years ago
comment:3 by , 11 years ago
This line should not be a Unicode object.
Other than that, this patch is fine (and very useful!) ☺
comment:4 by , 11 years ago
Indeed. New patch:
https://github.com/Velmont/mediagoblin/commit/patch-collection_repr

Have it on the web, if simpler:
https://github.com/Velmont/mediagoblin/commit/c809d88a17c125bdd92ea446b85c9ac44af09944
Just makes debugging a lot nicer :)