/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

  • Committer: Adeodato Simó
  • Date: 2007-07-18 15:51:52 UTC
  • mto: (2639.1.1 jam-integration)
  • Revision ID: dato@net.com.org.es-20070718155152-pv6rwq41eckqyxem
New EmailMessage class, façade around email.Message and MIMEMultipart.

* bzrlib/email_message.py,
  bzrlib/tests/test_email_message.py:
  New files.

* bzrlib/tests/__init__.py:
  (test_suite): add bzrlib.tests.test_email_message.

* bzrlib/merge_directive.py:
  (MergeDirective.to_email): Use EmailMessage instead of email.Message.

* bzrlib/tests/test_merge_directive.py,
  bzrlib/tests/blackbox/test_merge_directive.py:
  (__main__): adjust EMAIL1 and EMAIL2 strings to how EmailMessage
  formats itself.

* bzrlib/smtp_connection.py:
  (SMTPConnection.get_message_addresses): do not use methods present in
  email.Message but not in EmailMessage (get_all). Use get() instead of
  __getitem__ to make explicit that None is returned if the header does
  not exist.

* bzrlib/tests/test_smtp_connection.py:
  (TestSMTPConnection.test_get_message_addresses, 
   TestSMTPConnection.test_destination_address_required): test the
   functions against EmailMessage in addition to email.Message.

* NEWS:
  Mention EmailMessage in INTERNALS.
Filename Latest Rev Last Changed Committer Comment Size
..
bash 1185.1.29 20 years ago Robert Collins merge merge tweaks from aaron, which includes late Diff
emacs 1185.1.29 20 years ago Robert Collins merge merge tweaks from aaron, which includes late Diff
zsh 1185.1.29 20 years ago Robert Collins merge merge tweaks from aaron, which includes late Diff
add-bzr-to-baz 1185.1.29 20 years ago Robert Collins merge merge tweaks from aaron, which includes late 223 bytes Diff Download File
create_bzr_rollup.py 1185.1.29 20 years ago Robert Collins merge merge tweaks from aaron, which includes late 5.5 KB Diff Download File
fortune 1185.1.29 20 years ago Robert Collins merge merge tweaks from aaron, which includes late 306 bytes Diff Download File
newinventory.py 1963.2.6 19 years ago Robey Pointer pychecker is on crack; go back to using 'is None'. 4.3 KB Diff Download File
pwclient.full 1185.1.29 20 years ago Robert Collins merge merge tweaks from aaron, which includes late 13 KB Diff Download File
pwk 1583.1.2 19 years ago Michael Ellerman Update contrib/pwk for -p1 diffs from bzr 897 bytes Diff Download File
upload-bzr.dev 1185.1.29 20 years ago Robert Collins merge merge tweaks from aaron, which includes late 829 bytes Diff Download File