summaryrefslogtreecommitdiff
path: root/Lib/email/generator.py
diff options
context:
space:
mode:
authorBrett Cannon <bcannon@gmail.com>2008-08-03 23:27:32 +0000
committerBrett Cannon <bcannon@gmail.com>2008-08-03 23:27:32 +0000
commit1f571c6e602e7dc35d18cede0f70d34fd38e21ae (patch)
tree67b40a2e7268dd2cfefd22baa382591f8aee8b8f /Lib/email/generator.py
parentb2f49ff88d0d5e42ffc26c48b8759c1432a4e55c (diff)
downloadcpython-git-1f571c6e602e7dc35d18cede0f70d34fd38e21ae.tar.gz
Remove Barry's love of deprecated syntax to silence warnings in the email
package, when run under -3, about using <>.
Diffstat (limited to 'Lib/email/generator.py')
-rw-r--r--Lib/email/generator.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/email/generator.py b/Lib/email/generator.py
index 6e7a515302..ed832a3e9a 100644
--- a/Lib/email/generator.py
+++ b/Lib/email/generator.py
@@ -211,7 +211,7 @@ class Generator:
# doesn't preserve newlines/continuations in headers. This is no big
# deal in practice, but turns out to be inconvenient for the unittest
# suite.
- if msg.get_boundary() <> boundary:
+ if msg.get_boundary() != boundary:
msg.set_boundary(boundary)
# If there's a preamble, write it out, with a trailing CRLF
if msg.preamble is not None: