# HG changeset patch # User Sverre Rabbelier # Date 1238974765 0 # Node ID b8a9691da6e79cfd39a1293ede4c889e6c1457bd # Parent 353d73af0ba6a72f8ae588b8dcfaba98990fe842 Add the entities to the context too This makes it easier to quickly get specific entities from the datastore. Patch by: Sverre Rabbelier diff -r 353d73af0ba6 -r b8a9691da6e7 scripts/stats.py --- a/scripts/stats.py Sun Apr 05 22:51:54 2009 +0000 +++ b/scripts/stats.py Sun Apr 05 23:39:25 2009 +0000 @@ -215,6 +215,11 @@ 'getOrgAdmins': getEntities(OrgAdmin), 'getProps': getProps, 'countStudentsWithProposals': countStudentsWithProposals, + 'Organization': Organization, + 'User': User, + 'Student': Student, + 'Mentor': Mentor, + 'OrgAdmin': OrgAdmin, } interactive.remote(args, context)