Custom Query (1173 matches)

Filters
 
Or
 
  
 
Columns

Show under each result:


Results (34 - 36 of 1173)

2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
Ticket
#413
#462
Description

To make decorators nicer, MediaGoblin has a tiny tool called _make_safe() in decorators.py.

But what this helper tool does, is actually in the standard library!

It's called functools.update_wrapper (1) There's also a nicer version called functools.wraps (2)

So replace all instances of _make_safe by one of those two.

(1) http://docs.python.org/library/functools#functools.updat_wrapper (2) http://docs.python.org/library/functools#functools.wraps

#479
Description

When hovering over an image on an image’s media page, the pointer changes to “enlarge”/“zoom in”, meaning you can click the image to see the larger original version. If the displayed image is the original itself, click does nothing, but hovering still changes the pointer.

2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
Batch Modify
Note: See TracBatchModify for help on using batch modify.
Note: See TracQuery for help on using queries.