brandondean/the-blue-alliance — comment on commit 37923c255480ed0151ee116450d2d70bd3790b74
File:  line 0
By gregmarra:

Model objects don't have attributes that contain the keys of associated Models.

```
Traceback (most recent call last):
File "/Applications/GoogleAppEngineLauncher.app/Contents/Resources/GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/google/appengine/ext/webapp/_webapp25.py", line 701, in __call__
handler.get(*groups)
File "/Users/greg/Documents/www/the-blue-alliance/controllers/api_controller.py", line 34, in get
team_dict = ApiHelper.getTeamInfo(team_key)
File "/Users/greg/Documents/www/the-blue-alliance/helpers/api_helper.py", line 24, in getTeamInfo
team.event_keys.sort(reverse=True)
AttributeError: 'Team' object has no attribute 'event_keys'
```

Maybe call .reverse() on the list constructor? But that still won't sort by date, that will just sort by reverse-order-event-added, which happens to be date.