PEATDB/Ekin/Base.py
def prepare_data(self):
        """Prepare data for saving or return to another app ie. PEAT"""

        data = copy.deepcopy(self.data)
        data = self.data
        #print self.__meta_data__
        for name in self.ekinfields:
            if hasattr(self, name):
                data[name] = copy.deepcopy(self.__dict__[name])
        data['mode'] = self.currentmode

        return data
Prepare data for saving or return to another app ie. PEAT
Prepare data for saving or return to another app ie. PEAT
Prepare data for saving or return to another app ie . PEAT
def prepare_data(self):
        data = copy.deepcopy(self.data)
        data = self.data
        for name in self.ekinfields:
            if hasattr(self, name):
                data[name] = copy.deepcopy(self.__dict__[name])
        data['mode'] = self.currentmode
        return data
def prepare_data ( self ) : data = copy . deepcopy ( self . data ) data = self . data for name in self . ekinfields : if hasattr ( self , name ) : data [ name ] = copy . deepcopy ( self . __dict__ [ name ] ) data [ 'mode' ] = self . currentmode return data
Prepare data for saving or return to another app ie.
Prepare data for saving or return to another app ie .
"""Prepare data for saving or return to another app ie. PEAT""" #print self.__meta_data__
self