/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
..
old 1185.82.3 19 years ago John Arbash Meinel Working on creating a factor for serializing chang Diff
serializer 1185.82.3 19 years ago John Arbash Meinel Working on creating a factor for serializing chang Diff
__init__.py 2389.1.1 18 years ago Martin Pool Merge 0.15 final release back to trunk, including: 3.3 KB Diff Download File
apply_bundle.py 1551.11.9 18 years ago Aaron Bentley Apply change reporting to merge 2.7 KB Diff Download File
bundle_data.py 2476.2.1 18 years ago John Arbash Meinel Vastly improve bundle install performance by only 28.3 KB Diff Download File
commands.py 2598.5.8 18 years ago Aaron Bentley Merge bzr.dev 6.9 KB Diff Download File
common.py 2052.3.1 18 years ago John Arbash Meinel Add tests to cleanup the copyright of all source f 1 KB Diff Download File