Refactor file field checking.
authorElrond <elrond+mediagoblin.org@samba-tng.org>
Fri, 22 Mar 2013 14:45:21 +0000 (15:45 +0100)
committerElrond <elrond+mediagoblin.org@samba-tng.org>
Fri, 29 Mar 2013 11:01:23 +0000 (12:01 +0100)
commit2ef2f46e73845dcd55666cad49c5a17908bf5b46
tree7ac26a4013d48dfe7e77dfa754a2a2036ed03c86
parent9924cd0fb6f2a9d53a083ce68d1bbf872ee57d9b
Refactor file field checking.

When uploading, the file field needs some checks, it seems.
So refactor them into check_file_field and use around.
mediagoblin/plugins/api/views.py
mediagoblin/submit/lib.py
mediagoblin/submit/views.py