diff MoinMoin/action/AttachFile.py @ 1428:8a89649ab5f0

remove util.filesys.make[dD]irs - not needed any more due to os.umask() use
author Thomas Waldmann <tw AT waldmann-edv DOT de>
date Sun, 27 Aug 2006 01:20:15 +0200
parents f7f415cc1332
children 0d89219ff974
line wrap: on
line diff
--- a/MoinMoin/action/AttachFile.py	Sun Aug 27 01:00:36 2006 +0200
+++ b/MoinMoin/action/AttachFile.py	Sun Aug 27 01:20:15 2006 +0200
@@ -61,7 +61,7 @@
         pagename = wikiutil.quoteWikinameFS(pagename)
         attach_dir = os.path.join(request.cfg.attachments['dir'], pagename, "attachments")
         if create and not os.path.isdir(attach_dir):
-            filesys.makeDirs(attach_dir)
+            os.makedirs(attach_dir)
     else:
         # send file via CGI, from page storage area
         attach_dir = Page(request, pagename).getPagePath("attachments", check_create=create)