From 60c41b9fa744880d386e20d3bb7c327479490f95 Mon Sep 17 00:00:00 2001 From: asamoukin Date: Wed, 17 Jun 2009 13:42:44 +0000 Subject: [PATCH] git-svn-id: http://svn.calculate.ru/calculate2/calculate-lib/trunk@1765 c91db197-33c1-4113-bf15-f8a5c547ca64 --- pym/cl_profile.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pym/cl_profile.py b/pym/cl_profile.py index 574af1b..3ed57da 100644 --- a/pym/cl_profile.py +++ b/pym/cl_profile.py @@ -3050,6 +3050,8 @@ class profile(_file, _terms, xmlShare): if mode: if not os.path.exists(newDirMv): os.mkdir(newDirMv, mode) + else: + os.chmod(newDirMv, mode) else: self.setError (_("False value 'chmod' in profile: " ) +\ profileDirFile)