I think I was trying to make it clear that it would lead to the default via
my comment, but I removed it.


On Tue, Sep 3, 2013 at 2:40 PM, Calen Pennington
<notifications@github.com>wrote:

> In common/lib/xmodule/xmodule/modulestore/mongo/base.py:
>
> > @@ -83,8 +87,10 @@ def get(self, key):
> >                  return self._category
> >              elif key.field_name == 'data' and not isinstance(self._data, dict):
> >                  return self._data
> > -            else:
> > +            elif key.field_name in self._data:
> >                  return self._data[key.field_name]
>
> Yeah, I was trying to ask why you weren't just leaving it alone to let
> python raise the KeyError
>
> —
> Reply to this email directly or view it on GitHub<https://github.com/edx/edx-platform/pull/844/files#r6134032>
> .
>