← Back to team overview

zeitgeist team mailing list archive

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

 

tehk has proposed merging lp:~email-tehk/zeitgeist/recent-fix into lp:zeitgeist.

Requested reviews:
  Zeitgeist Framework Team (zeitgeist)


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.
-- 
https://code.launchpad.net/~email-tehk/zeitgeist/recent-fix/+merge/26360
Your team Zeitgeist Framework Team is requested to review the proposed merge of lp:~email-tehk/zeitgeist/recent-fix into lp:zeitgeist.
=== modified file '_zeitgeist/loggers/datasources/recent.py'
--- _zeitgeist/loggers/datasources/recent.py	2010-04-29 11:33:01 +0000
+++ _zeitgeist/loggers/datasources/recent.py	2010-05-29 01:56:25 +0000
@@ -206,7 +206,7 @@
 		# if the value is None this filter matches all mimetypes
 		"DOCUMENT": MimeTypeSet(*DOCUMENT_MIMETYPES),
 		"IMAGE": MimeTypeSet(*IMAGE_MIMETYPES),
-		"MUSIC": MimeTypeSet(*AUDIO_MIMETYPES),
+		"AUDIO": MimeTypeSet(*AUDIO_MIMETYPES),
 		"VIDEO": MimeTypeSet(*VIDEO_MIMETYPES),
 		"SOURCE_CODE": MimeTypeSet(*DEVELOPMENT_MIMETYPES),
 	}