Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(4)  |  Call(4)  |  Derive(0)  |  Import(0)

src/f/l/flanker-0.4.14/flanker/mime/message/part.py   flanker(Download)
    def message_id(self):
        return MessageId.from_string(self.headers.get('Message-Id', ''))
 
    @message_id.setter
    def message_id(self, value):
        refs = list(MessageId.scan(self.headers.get('References', '')))
        if not refs:
            reply = MessageId.from_string(self.headers.get('In-Reply-To', ''))
            if reply:
                refs.append(reply[0])

src/f/l/flanker-HEAD/flanker/mime/message/part.py   flanker(Download)
    def message_id(self):
        return MessageId.from_string(self.headers.get('Message-Id', ''))
 
    @message_id.setter
    def message_id(self, value):
        refs = list(MessageId.scan(self.headers.get('References', '')))
        if not refs:
            reply = MessageId.from_string(self.headers.get('In-Reply-To', ''))
            if reply:
                refs.append(reply[0])