Correct a typo in datastore.py so that Pippy can resume with data.

This commit is contained in:
Michael Stone 2007-11-12 16:52:01 -05:00
parent 8bd8ec6216
commit 1bf6cdaa81

View File

@ -122,7 +122,7 @@ class DSObject(object):
result = registry.get_activities_for_type(mime_type) result = registry.get_activities_for_type(mime_type)
if not result: if not result:
for parent_mime in mime.get_mime_parents(mime_type): for parent_mime in mime.get_mime_parents(mime_type):
result.extend(registry.get_activities_for_type(parent_type)) result.extend(registry.get_activities_for_type(parent_mime))
return result return result
def get_activities(self): def get_activities(self):