Correct a typo in datastore.py so that Pippy can resume with data.
This commit is contained in:
parent
8bd8ec6216
commit
1bf6cdaa81
@ -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):
|
||||||
|
Loading…
Reference in New Issue
Block a user