svn: r5518
This commit is contained in:
Alex Roitman 2005-12-09 05:14:13 +00:00
parent d5547e337c
commit 7704cd4f54

View File

@ -1424,7 +1424,7 @@ class ReportDialog(BareReportDialog):
# check whether the dir has rwx permissions # check whether the dir has rwx permissions
if not os.access(self.target_path,os.R_OK|os.W_OK|os.X_OK): if not os.access(self.target_path,os.R_OK|os.W_OK|os.X_OK):
ErrorDialog(_('Permission problem'), ErrorDialog(_('Permission problem'),
_("You do not have permissions to write " _("You do not have permission to write "
"under the directory %s\n\n" "under the directory %s\n\n"
"Please select another directory or correct " "Please select another directory or correct "
"the permissions." % self.target_path) "the permissions." % self.target_path)
@ -1449,7 +1449,7 @@ class ReportDialog(BareReportDialog):
parent_dir = os.path.dirname(os.path.normpath(self.target_path)) parent_dir = os.path.dirname(os.path.normpath(self.target_path))
if not os.access(parent_dir,os.W_OK): if not os.access(parent_dir,os.W_OK):
ErrorDialog(_('Permission problem'), ErrorDialog(_('Permission problem'),
_("You do not have permissions to create " _("You do not have permission to create "
"%s\n\n" "%s\n\n"
"Please select another path or correct " "Please select another path or correct "
"the permissions." % self.target_path) "the permissions." % self.target_path)