diff options
| author | Barry Warsaw | 2016-03-25 19:03:05 -0400 |
|---|---|---|
| committer | Barry Warsaw | 2016-03-25 19:03:05 -0400 |
| commit | c81e250e3a5690e8c8f9f4dc4b460c2a81731c48 (patch) | |
| tree | 8152b01042ce3cd9a2f118759cbab7193f41b64e /src/mailman/utilities/filesystem.py | |
| parent | 01433eedaeea07b72bfc8b2a970a1e0023975cd6 (diff) | |
| download | mailman-c81e250e3a5690e8c8f9f4dc4b460c2a81731c48.tar.gz mailman-c81e250e3a5690e8c8f9f4dc4b460c2a81731c48.tar.zst mailman-c81e250e3a5690e8c8f9f4dc4b460c2a81731c48.zip | |
Diffstat (limited to 'src/mailman/utilities/filesystem.py')
| -rw-r--r-- | src/mailman/utilities/filesystem.py | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/src/mailman/utilities/filesystem.py b/src/mailman/utilities/filesystem.py index a20672f95..e8935b92c 100644 --- a/src/mailman/utilities/filesystem.py +++ b/src/mailman/utilities/filesystem.py @@ -17,17 +17,13 @@ """Filesystem utilities.""" -__all__ = [ - 'makedirs', - 'umask', - ] - - import os import errno +from mailman import public + - +@public class umask: """Manage the umask for the with statement.""" @@ -46,7 +42,7 @@ class umask: return False - +@public def makedirs(path, mode=0o2775): """Create a directory hierarchy, ensuring permissions. |
