wiki: get_editors should return a list, not dict.

This commit is contained in:
Andre D
2012-10-09 18:35:59 -05:00
committed by Neil Williams
parent e2cf47451f
commit e81b971de0

View File

@@ -263,7 +263,7 @@ class WikiPage(tdb_cassandra.Thing):
def get_editors(self, properties=None):
try:
return WikiPageEditors._byID(self._id, properties=properties)._values() or []
return WikiPageEditors._byID(self._id, properties=properties)._values().keys() or []
except tdb_cassandra.NotFoundException:
return []