Beispiel #1
0
    def removeMessage(self, message, observer_flags=0):
        '''Remove a Message from this corpus'''
        if options["globals", "verbose"]:
            print 'removing', message.key(), 'from corpus'

        message.remove()

        # superclass processing *MUST* be done
        # perform superclass processing *LAST!*
        Corpus.Corpus.removeMessage(self, message, observer_flags)
Beispiel #2
0
    def removeMessage(self, message):
        '''Remove a Message from this corpus'''
        if options["globals", "verbose"]:
            print 'removing',message.key(),'from corpus'

        message.remove()

        # superclass processing *MUST* be done
        # perform superclass processing *LAST!*
        Corpus.Corpus.removeMessage(self, message)
Beispiel #3
0
 def removeMessage(self, message, observer_flags=0):

        '''Remove a Message from this corpus'''

        if options["globals", "verbose"]:

            print 'removing',message.key(),'from corpus'

        message.remove()

        Corpus.Corpus.removeMessage(self, message, observer_flags)