Simplify check_media_slug_used
authorSebastian Spaeth <Sebastian@SSpaeth.de>
Wed, 9 Jan 2013 10:31:05 +0000 (11:31 +0100)
committerSebastian Spaeth <Sebastian@SSpaeth.de>
Tue, 15 Jan 2013 13:49:50 +0000 (14:49 +0100)
commit65969d3fb799765854ac5f57f85842c6ab523b21
treeed34c317320d13160c21915e5814f1e5593d9f6f
parent4fc0a289947c5e0ba68f612bc933f25b497f9fca
Simplify check_media_slug_used

Remove the unused dummy_db argument and generally make the function
readable.

Signed-off-by: Sebastian Spaeth <Sebastian@SSpaeth.de>
mediagoblin/db/mixin.py
mediagoblin/db/util.py
mediagoblin/edit/views.py