Use the preferred form of raise statements in the docs.

This commit is contained in:
Georg Brandl 2009-06-03 07:25:35 +00:00
parent dad7b7b1cb
commit c1edec3374
12 changed files with 26 additions and 27 deletions

View file

@ -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)