summaryrefslogtreecommitdiff
path: root/Mailman/Utils.py
diff options
context:
space:
mode:
authorklm1998-12-08 22:21:19 +0000
committerklm1998-12-08 22:21:19 +0000
commit84116b51659f524b432db0e3cabaac9920b3c88b (patch)
treefcd43333a0e6b15621c0cf41bb23256803c2ce07 /Mailman/Utils.py
parent1bb5c5ab613817916e930520bb4b06e8b0a36b51 (diff)
downloadmailman-84116b51659f524b432db0e3cabaac9920b3c88b.tar.gz
mailman-84116b51659f524b432db0e3cabaac9920b3c88b.tar.zst
mailman-84116b51659f524b432db0e3cabaac9920b3c88b.zip
Diffstat (limited to 'Mailman/Utils.py')
-rw-r--r--Mailman/Utils.py7
1 files changed, 4 insertions, 3 deletions
diff --git a/Mailman/Utils.py b/Mailman/Utils.py
index a322c403d..2626c533f 100644
--- a/Mailman/Utils.py
+++ b/Mailman/Utils.py
@@ -553,10 +553,11 @@ Two differences from os.mkdir():
def open_ex(filename, mode='r', bufsize=-1, perms=0664):
"""Use os.open() to open a file in a particular mode.
-Returns a file-like object instead of a file descriptor. Also umask is forced
-to 0 during the open().
-`b' flag is currently unsupported."""
+ Returns a file-like object instead of a file descriptor.
+ Also umask is forced to 0 during the open().
+
+ `b' flag is currently unsupported."""
modekey = mode
trunc = os.O_TRUNC
if mode == 'r':