Switch to unified view

a/Ming/ming/schema.py b/Ming/ming/schema.py
...
...
173
    def _get_if_missing(self):
173
    def _get_if_missing(self):
174
        from . import base
174
        from . import base
175
        if self._if_missing is NoDefault:
175
        if self._if_missing is NoDefault:
176
            self._if_missing = base.Object(
176
            self._if_missing = base.Object(
177
                (k, v.validate(Missing))
177
                (k, v.validate(Missing))
178
                for k,v in self.fields.iteritems())
178
                for k,v in self.fields.iteritems()
179
                if isinstance(k, basestring))
179
        return self._if_missing
180
        return self._if_missing
180
    def _set_if_missing(self, value):
181
    def _set_if_missing(self, value):
181
        self._if_missing = value
182
        self._if_missing = value
182
    if_missing = property(_get_if_missing, _set_if_missing)
183
    if_missing = property(_get_if_missing, _set_if_missing)
183
184