]> granicus.if.org Git - python/commit
#243654: only create a new MIME boundary if we don't already have one.
authorR. David Murray <rdmurray@bitdance.com>
Sun, 12 Dec 2010 20:06:19 +0000 (20:06 +0000)
committerR. David Murray <rdmurray@bitdance.com>
Sun, 12 Dec 2010 20:06:19 +0000 (20:06 +0000)
commit5260a9bbdcc665a3e77316552f020a2c7ef28594
treed2674f0824815f550a83a3208917f00a98372ebe
parentcc4edd59d65f6c1c31d1331a0a61681c09bb43dc
#243654: only create a new MIME boundary if we don't already have one.

The rearranged code should do exactly what the old code did, but
the new code avoids a potentially costly re computation in the case
where a boundary already exists.
Lib/email/generator.py