Custom Query (1173 matches)
Results (34 - 36 of 1173)
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 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. |