summaryrefslogtreecommitdiffstats
path: root/Lib/email
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/email')
-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 27dd0db..24f2abf 100644
--- a/Lib/email/generator.py
+++ b/Lib/email/generator.py
@@ -156,7 +156,7 @@ class Generator:
self.write(self._NL)
laststripped = lines[-1].rstrip('\r\n')
self.write(laststripped)
- if len(lines[-1])!=len(laststripped):
+ if len(lines[-1]) != len(laststripped):
self.write(self._NL)
def _write(self, msg):