Logo Search packages:      
Sourcecode: zope-coreblog2 version File versions  Download package

def COREBlog2::content::coreblogentry::COREBlogEntry::getUnsentTrackbacks (   self  ) 

Find if there is unsent trackback, if there, return true.

Definition at line 676 of file coreblogentry.py.

00676                                  :
        """
        Find if there is unsent trackback, if there, return true.
        """
        tobesent = Set(self.getTrackback_url().split('\n'))
        alreadysent = Set(self.getSent_trackback_url().split('\n'))
        # Get unique unsent trackback url(s)
        unsent = tobesent - alreadysent
        return list(unsent)

    security.declareProtected(ModifyPortalContent, 'sendTrackbacks')
    def sendTrackbacks(self,idx = -1):


Generated by  Doxygen 1.6.0   Back to index