summaryrefslogtreecommitdiffstats
path: root/Doc/includes/email-unpack.py
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2009-06-03 07:25:35 (GMT)
committerGeorg Brandl <georg@python.org>2009-06-03 07:25:35 (GMT)
commitc1edec3374bb03ca936be3cd0b968140ec58e819 (patch)
tree4160a66a97eab66e3cc6d533566e8368a9cc9b8f /Doc/includes/email-unpack.py
parentdad7b7b1cb83d6ead5e8af5c747256a1aaa3f6cf (diff)
downloadcpython-c1edec3374bb03ca936be3cd0b968140ec58e819.zip
cpython-c1edec3374bb03ca936be3cd0b968140ec58e819.tar.gz
cpython-c1edec3374bb03ca936be3cd0b968140ec58e819.tar.bz2
Use the preferred form of raise statements in the docs.
Diffstat (limited to 'Doc/includes/email-unpack.py')
-rw-r--r--Doc/includes/email-unpack.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/includes/email-unpack.py b/Doc/includes/email-unpack.py
index daf2470..8f99ded 100644
--- a/Doc/includes/email-unpack.py
+++ b/Doc/includes/email-unpack.py
@@ -37,7 +37,7 @@ Usage: %prog [options] msgfile
os.mkdir(opts.directory)
except OSError, e:
# Ignore directory exists error
- if e.errno <> errno.EEXIST:
+ if e.errno != errno.EEXIST:
raise
fp = open(msgfile)