Mercurial > moin > 1.9
changeset 1427:5e4d0d49dd60
don't use mask, as we have os.umask() now
author | Thomas Waldmann <tw AT waldmann-edv DOT de> |
---|---|
date | Sun, 27 Aug 2006 01:00:36 +0200 |
parents | 33852c180bd5 |
children | 8a89649ab5f0 |
files | MoinMoin/action/SpellCheck.py MoinMoin/packages.py |
diffstat | 2 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/MoinMoin/action/SpellCheck.py Sat Aug 26 22:54:17 2006 +0200 +++ b/MoinMoin/action/SpellCheck.py Sun Aug 27 01:00:36 2006 +0200 @@ -85,7 +85,7 @@ else: wordsfiles = _getWordsFiles(request) if dbhash: - wordsdict = dbhash.open(cachename, 'n', 0666 & config.umask) + wordsdict = dbhash.open(cachename, 'n') else: wordsdict = {}
--- a/MoinMoin/packages.py Sat Aug 26 22:54:17 2006 +0200 +++ b/MoinMoin/packages.py Sun Aug 27 01:00:36 2006 +0200 @@ -156,7 +156,7 @@ wikiutil.taintfilename(target)) theme_dir = os.path.dirname(theme_file) if not os.path.exists(theme_dir): - os.makedirs(theme_dir, 0777 & config.umask) + os.makedirs(theme_dir) self._extractToFile(filename, theme_file) def do_installplugin(self, filename, visibility, ptype, target):