import emission.core.wrapper.trip as ecwt
import emission.core.wrapper.wrapperbase as ecwb

class Cleanedtrip(ecwt.Trip):
    props = ecwt.Trip.props
    props.update({"raw_trip": ecwb.WrapperBase.Access.WORM,
                  "distance": ecwb.WrapperBase.Access.WORM,
                  })

    def _populateDependencies(self):
        super(Cleanedtrip, self)._populateDependencies()
import emission.core.wrapper.trip as ecwt
import emission.core.wrapper.wrapperbase as ecwb

class Cleanedtrip(ecwt.Trip):
    props = ecwt.Trip.props
    props.update({"raw_trip": ecwb.WrapperBase.Access.WORM
                  })

    def _populateDependencies(self):
        super(Cleanedtrip, self)._populateDependencies()

Remove the distance from the cleaned trip
Remove the distance from the cleaned trip

Since it is already in the base class (trip) and has been there since the very
first wrapper class commit.

https://github.com/e-mission/e-mission-server/commit/c4251f5de5dc65f0ddd458dc909c111ddec67153
