diff options
| author | Tom Christie | 2012-10-27 10:32:49 +0100 | 
|---|---|---|
| committer | Tom Christie | 2012-10-27 10:33:01 +0100 | 
| commit | 44207a347ac765d900f15b65bdd24dbf8eb9ead2 (patch) | |
| tree | a047158936d13e635f9602aa4689f67d1582fb0d /rest_framework/request.py | |
| parent | 2026d5f1d93da7c16a58590a561563cfea3b9ad1 (diff) | |
| download | django-rest-framework-44207a347ac765d900f15b65bdd24dbf8eb9ead2.tar.bz2 | |
pep8
Diffstat (limited to 'rest_framework/request.py')
| -rw-r--r-- | rest_framework/request.py | 4 | 
1 files changed, 2 insertions, 2 deletions
| diff --git a/rest_framework/request.py b/rest_framework/request.py index 5870be82..a1827ba4 100644 --- a/rest_framework/request.py +++ b/rest_framework/request.py @@ -21,8 +21,8 @@ def is_form_media_type(media_type):      Return True if the media type is a valid form media type.      """      base_media_type, params = parse_header(media_type) -    return base_media_type == 'application/x-www-form-urlencoded' or \ -           base_media_type == 'multipart/form-data' +    return (base_media_type == 'application/x-www-form-urlencoded' or +            base_media_type == 'multipart/form-data')  class Empty(object): | 
