X-Git-Url: https://git.llucax.com/software/blitiri.git/blobdiff_plain/2635e6fa99f5b3e693262307437fe5d71c78fb38..d3f4d72b5997d679bb18ac1dbb34c44f2981d7bf:/blitiri.cgi?ds=inline diff --git a/blitiri.cgi b/blitiri.cgi index d709f30..532bf72 100755 --- a/blitiri.cgi +++ b/blitiri.cgi @@ -870,6 +870,12 @@ class Article (object): return self._comments + def __eq__(self, other): + if self.path == other.path: + return True + return False + + def add_comment(self, author, raw_content, link = ''): c = Comment(self, len(self.comments)) c.set(author, raw_content, link)