Opened 7 years ago

Closed 7 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 :)

Subtickets

Attachments (1)

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

Download all attachments as: .zip

Change History (7)

Changed 7 years ago by Odin Hørthe Omdal (Velmont)

comment:1 Changed 7 years ago by Odin Hørthe Omdal (Velmont)

Status: newreview

comment:2 Changed 7 years ago by Odin Hørthe Omdal (Velmont)

Have it on the web, if simpler:

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

Just makes debugging a lot nicer :)

comment:3 Changed 7 years ago by Matt Molyneaux

This line should not be a Unicode object.

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

comment:4 Changed 7 years ago by Odin Hørthe Omdal (Velmont)

comment:5 Changed 7 years ago by Matt Molyneaux

Looks good to me :)

comment:6 Changed 7 years ago by Christopher Allan Webber

Resolution: fixed
Status: reviewclosed

Merged, thanks!

Note: See TracTickets for help on using tickets.