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)

0001-Add-__repr__-for-Collection-and-CollectionItem.patch (2.3 KB ) - added by Odin Hørthe Omdal (Velmont) 10 years ago.

Download all attachments as: .zip

Change History (7)

by Odin Hørthe Omdal (Velmont), 10 years ago

comment:1 by Odin Hørthe Omdal (Velmont), 10 years ago

Status: newreview

comment:2 by Odin Hørthe Omdal (Velmont), 10 years ago

Have it on the web, if simpler:

https://github.com/Velmont/mediagoblin/commit/c809d88a17c125bdd92ea446b85c9ac44af09944

Just makes debugging a lot nicer :)

comment:3 by Matt Molyneaux, 10 years ago

This line should not be a Unicode object.

Other than that, this patch is fine (and very useful!) ☺

comment:5 by Matt Molyneaux, 10 years ago

Looks good to me :)

comment:6 by Christopher Allan Webber, 10 years ago

Resolution: fixed
Status: reviewclosed

Merged, thanks!

Note: See TracTickets for help on using tickets.