]> git.llucax.com Git - software/blitiri.git/blobdiff - blitiri.cgi
Fix command-line broken by the last commit
[software/blitiri.git] / blitiri.cgi
index d709f305658e43d375171040fcbae698df3e4821..532bf721e3facc9256961e74497266f4e996b967 100755 (executable)
@@ -870,6 +870,12 @@ class Article (object):
                return self._comments
 
 
                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)
        def add_comment(self, author, raw_content, link = ''):
                c = Comment(self, len(self.comments))
                c.set(author, raw_content, link)