def send(self, obj):
		"""Send a push notification"""
		if not isinstance(obj, NotificationMessage):
			raise ValueError, u"You can only send NotificationMessage objects."
		self._send_queue.put(obj)
def send ( self , obj ) : if not isinstance ( obj , NotificationMessage ) : raise ValueError , u"You can only send NotificationMessage objects." self . _send_queue . put ( obj )
Send a push notification