changeset 1431:0a9763e325d1

removed util.filesys.chmod - not used any more due to os.umask() usage
author Thomas Waldmann <tw AT waldmann-edv DOT de>
date Sun, 27 Aug 2006 01:48:43 +0200
parents fd7166892bd3
children 88c25ce3d813
files MoinMoin/util/filesys.py
diffstat 1 files changed, 0 insertions(+), 12 deletions(-) [+]
line wrap: on
line diff
--- a/MoinMoin/util/filesys.py	Sun Aug 27 01:41:02 2006 +0200
+++ b/MoinMoin/util/filesys.py	Sun Aug 27 01:48:43 2006 +0200
@@ -14,18 +14,6 @@
 ### Misc Helpers
 #############################################################################
 
-def chmod(name, mode, catchexception=True):
-    """ change mode of some file/dir on platforms that support it.
-        usually you don't need this because we use os.umask() when importing
-        request.py
-    """
-    try:
-        os.chmod(name, mode)
-    except OSError:
-        if not catchexception:
-            raise
-
-
 def rename(oldname, newname):
     """ Multiplatform rename