summaryrefslogtreecommitdiff
path: root/src/mailman/utilities/filesystem.py
diff options
context:
space:
mode:
authorBarry Warsaw2011-11-02 15:41:39 -0400
committerBarry Warsaw2011-11-02 15:41:39 -0400
commitf48ca2a1aa74a1b0fe14003d9ceb37e146b46738 (patch)
tree3df8d993612a41064d8a69b7de831bff2f57ff8e /src/mailman/utilities/filesystem.py
parentf8456fef792eaa7b36a5b04072c5ad15d5fb6d48 (diff)
downloadmailman-f48ca2a1aa74a1b0fe14003d9ceb37e146b46738.tar.gz
mailman-f48ca2a1aa74a1b0fe14003d9ceb37e146b46738.tar.zst
mailman-f48ca2a1aa74a1b0fe14003d9ceb37e146b46738.zip
Diffstat (limited to 'src/mailman/utilities/filesystem.py')
-rw-r--r--src/mailman/utilities/filesystem.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mailman/utilities/filesystem.py b/src/mailman/utilities/filesystem.py
index 3296a4a6c..0234f2def 100644
--- a/src/mailman/utilities/filesystem.py
+++ b/src/mailman/utilities/filesystem.py
@@ -66,7 +66,7 @@ def makedirs(path, mode=02775):
os.makedirs(path, mode)
except OSError as error:
# Ignore the exceptions if the directory already exists.
- if error.errno <> errno.EEXIST:
+ if error.errno != errno.EEXIST:
raise
# Some systems such as FreeBSD ignore mkdir's mode, so walk the just
# created directories and try to set the mode, ignoring any OSErrors that