Opened 10 years ago
Closed 10 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 , 10 years ago
Attachment: | 0001-Add-__repr__-for-Collection-and-CollectionItem.patch added |
---|
comment:1 by , 10 years ago
Status: | new → review |
---|
comment:2 by , 10 years ago
comment:3 by , 10 years ago
This line should not be a Unicode object.
Other than that, this patch is fine (and very useful!) ☺
comment:4 by , 10 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 :)