Set "From " line, formatting and appending time_ if specified.
(self, from_, time_=None)
| 1652 | return self._from |
| 1653 | |
| 1654 | def set_from(self, from_, time_=None): |
| 1655 | """Set "From " line, formatting and appending time_ if specified.""" |
| 1656 | if time_ is not None: |
| 1657 | if time_ is True: |
| 1658 | time_ = time.gmtime() |
| 1659 | from_ += ' ' + time.asctime(time_) |
| 1660 | self._from = from_ |
| 1661 | |
| 1662 | def get_flags(self): |
| 1663 | """Return as a string the flags that are set.""" |
no outgoing calls
no test coverage detected