예제 #1
0
파일: talk.py 프로젝트: danroberts/wrook
	def touch_up(self, childItem):
		if childItem:
			if childItem.__class__.__name__ == "Reply":
				cachetree.touch("%s-topicsWithReplies" % self.key())
			elif childItem.__class__.__name__ == "Topic":
				cachetree.touch("%s-topicsWithReplies" % self.key())
				cachetree.touch("%s-topics" % self.key())
			super(Topicable, self).touch_up(childItem)
예제 #2
0
파일: talk.py 프로젝트: danroberts/wrook
	def touch_up(self, childItem):
		if childItem:
			if childItem.__class__.__name__ == "Reply":
				cachetree.touch("%s-replies" % self.key())
			super(Replyable, self).touch_up(childItem)