sweet!  THANKS!


On Thu, Mar 20, 2014 at 11:14 AM, David Baumgold
<notifications@github.com>wrote:

> In common/lib/xmodule/xmodule/tabs.py:
>
> > +                    json_data.append(val.to_json())
> > +                elif isinstance(val, dict):
> > +                    json_data.append(val)
> > +                else:
> > +                    continue
> > +        return json_data
> > +
> > +    def from_json(self, values):
> > +        """
> > +        Overrides the from_json method to de-serialize all the CourseTab objects.
> > +        """
> > +        self._validate_tabs(values)
> > +        tabs = []
> > +        for tab in values:
> > +            tabs.append(CourseTab.factory(tab))
> > +        return tabs
>
> return [CourseTab.factory(tab) for tab in values]
>
> --
> Reply to this email directly or view it on GitHub<https://github.com/edx/edx-platform/pull/2910/files#r10798967>
> .
>



-- 

edX | nasthagiri@edx.org <andya@edx.org>

141 Portland Street, 9th floor

Cambridge, MA 02139
http://www.edx.org <http://www.edxonline.org/>

[image:
http://www.e-learn.nl/media/blogs/e-learn/edX_Logo_Col_RGB_FINAL.jpg?mtime=1336074566]