summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJack Jansen <jack.jansen@cwi.nl>1995-06-16 10:57:14 (GMT)
committerJack Jansen <jack.jansen@cwi.nl>1995-06-16 10:57:14 (GMT)
commite5e2cdde1503a58779c5016cb053828d18ce4301 (patch)
tree161784006a020bc3418df78f8c7821bfe32d64dd
parent6a9df7a86c414b457ed22a9917653750e405b3df (diff)
downloadcpython-e5e2cdde1503a58779c5016cb053828d18ce4301.zip
cpython-e5e2cdde1503a58779c5016cb053828d18ce4301.tar.gz
cpython-e5e2cdde1503a58779c5016cb053828d18ce4301.tar.bz2
Removed >From stuff
-rw-r--r--Lib/rfc822.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/Lib/rfc822.py b/Lib/rfc822.py
index db5e0d4..0e9122f 100644
--- a/Lib/rfc822.py
+++ b/Lib/rfc822.py
@@ -93,8 +93,7 @@ class Message:
self.status = 'EOF in headers'
break
# Skip unix From name time lines
- if firstline and (line[:5] == 'From '
- or line[:6] == '>From '):
+ if firstline and line[:5] == 'From ':
continue
firstline = 0
if self.islast(line):