diff options
author | Manuel QuiƱones <manuq@laptop.org> | 2012-09-04 13:51:39 (GMT) |
---|---|---|
committer | Simon Schampijer <simon@laptop.org> | 2012-09-07 09:14:26 (GMT) |
commit | 62b8ed1433d8f55f625b15c98d605c737444e238 (patch) | |
tree | 4c94e30f1216c4315190c5ce84946d3457255217 /src | |
parent | 9b0767d1c787df0d535b7c60226ea3a83ae36e47 (diff) |
Journal misc: remove deprecated MIME type
The deprecated mime type has been removed from the
sugar-toolkit-gtk3 [1].
[1] http://git.sugarlabs.org/sugar-toolkit-gtk3/sugar-toolkit-gtk3/commit/ae85dd62d42a7d5bea76aec3b941ce35ccc61bf4
Signed-off-by: Manuel QuiƱones <manuq@laptop.org>
Acked-by: Simon Schampijer <simon@laptop.org>
Diffstat (limited to 'src')
-rw-r--r-- | src/jarabe/journal/misc.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/jarabe/journal/misc.py b/src/jarabe/journal/misc.py index cf9d136..efd0dbe 100644 --- a/src/jarabe/journal/misc.py +++ b/src/jarabe/journal/misc.py @@ -290,8 +290,7 @@ def _downgrade_alert_response_cb(alert, response_id, bundle): def is_activity_bundle(metadata): mime_type = metadata.get('mime_type', '') - return mime_type == ActivityBundle.MIME_TYPE or \ - mime_type == ActivityBundle.DEPRECATED_MIME_TYPE + return mime_type == ActivityBundle.MIME_TYPE def is_content_bundle(metadata): |