Merge lp:~email-tehk/zeitgeist/recent-fix into lp:zeitgeist/0.1

Proposed by Randal Barlow
Status: Merged
Merge reported by: Mikkel Kamstrup Erlandsen
Merged at revision: not available
Proposed branch: lp:~email-tehk/zeitgeist/recent-fix
Merge into: lp:zeitgeist/0.1
Diff against target: 12 lines (+1/-1)
1 file modified
_zeitgeist/loggers/datasources/recent.py (+1/-1)
To merge this branch: bzr merge lp:~email-tehk/zeitgeist/recent-fix
Reviewer Review Type Date Requested Status
Mikkel Kamstrup Erlandsen review and try datahub Approve
Review via email: mp+26360@code.launchpad.net

Description of the change

Fixes the issue where the recent.py datasource fails to load due to an attribute error due to requesting Symbol attributes by the names used in the old ontology.

To post a comment you must log in.
Revision history for this message
Mikkel Kamstrup Erlandsen (kamstrup) wrote :

Looks good. Thanks!

review: Approve (review and try datahub)

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file '_zeitgeist/loggers/datasources/recent.py'
2--- _zeitgeist/loggers/datasources/recent.py 2010-04-29 11:33:01 +0000
3+++ _zeitgeist/loggers/datasources/recent.py 2010-05-29 01:56:25 +0000
4@@ -206,7 +206,7 @@
5 # if the value is None this filter matches all mimetypes
6 "DOCUMENT": MimeTypeSet(*DOCUMENT_MIMETYPES),
7 "IMAGE": MimeTypeSet(*IMAGE_MIMETYPES),
8- "MUSIC": MimeTypeSet(*AUDIO_MIMETYPES),
9+ "AUDIO": MimeTypeSet(*AUDIO_MIMETYPES),
10 "VIDEO": MimeTypeSet(*VIDEO_MIMETYPES),
11 "SOURCE_CODE": MimeTypeSet(*DEVELOPMENT_MIMETYPES),
12 }