Menu

Commit [r10176]  Maximize  Restore  History

Patch for tests and issues revealed by tests attached.

trac/web/main.py:
- Explicitly specify encoding when sending project index.

trac/notification.py:
- Explicitly specify encoding when sending email notifications.

trac/mimeview/api.py:
- Cosmetic change that makes it explicit that stream is expected to
be a list of unicode but not a list of bytes.

trac/mimeview/tests/*
- Explicitly specify encoding when constructing streams to test against.

Patch by Simon Cross, thanks!

cboos 2010-10-05

changed /trunk/THANKS
changed /trunk/trac/mimeview/api.py
changed /trunk/trac/mimeview/tests/api.py
changed /trunk/trac/mimeview/tests/patch.py
changed /trunk/trac/mimeview/tests/pygments.py
changed /trunk/trac/notification.py
changed /trunk/trac/web/main.py
/trunk/THANKS Diff Switch to side-by-side view
Loading...
/trunk/trac/mimeview/api.py Diff Switch to side-by-side view
Loading...
/trunk/trac/mimeview/tests/api.py Diff Switch to side-by-side view
Loading...
/trunk/trac/mimeview/tests/patch.py Diff Switch to side-by-side view
Loading...
/trunk/trac/mimeview/tests/pygments.py Diff Switch to side-by-side view
Loading...
/trunk/trac/notification.py Diff Switch to side-by-side view
Loading...
/trunk/trac/web/main.py Diff Switch to side-by-side view
Loading...
MongoDB Logo MongoDB