mirror of
https://github.com/reddit-archive/reddit.git
synced 2026-01-28 16:28:01 -05:00
wiki: get_editors should return a list, not dict.
This commit is contained in:
@@ -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 []
|
||||
|
||||
|
||||
Reference in New Issue
Block a user