message/db.py
def check_data(self):
        '''
        Checks if the device is able to receive messages from c2dm server.
        '''
        dci = DeviceChannelInfo.objects.get(pk=self._id)
        if dci.device.failed_push:
            raise FailedPushException(
                              "Failed push [DeviceChannelInfo id %d]" %
                               self._id,
                               self._logger)

        Checks if the device is able to receive messages from c2dm server.
        
Checks if the device is able to receive messages from c2dm server.
Checks if the device is able to receive messages from c2dm server .
def check_data(self):
        dci = DeviceChannelInfo.objects.get(pk=self._id)
        if dci.device.failed_push:
            raise FailedPushException(
                              "Failed push [DeviceChannelInfo id %d]" %
                               self._id,
                               self._logger)
def check_data ( self ) : dci = DeviceChannelInfo . objects . get ( pk = self . _id ) if dci . device . failed_push : raise FailedPushException ( "Failed push [DeviceChannelInfo id %d]" % self . _id , self . _logger )
Checks if the device is able to receive messages from c2dm server.
Checks if the device is able to receive messages from c2dm server .
'''
        Checks if the device is able to receive messages from c2dm server.
        '''
self