From 62dbb51fa21b9623836aac282d9bed7afc26cc58 Mon Sep 17 00:00:00 2001 From: Mike Khiretskiy Date: Wed, 5 Nov 2014 15:51:59 +0300 Subject: [PATCH] =?UTF-8?q?=D0=98=D1=81=D0=BF=D1=80=D0=B0=D0=B2=D0=BB?= =?UTF-8?q?=D0=B5=D0=BD=D0=B8=D1=8F=20=D0=B4=D0=BB=D1=8F=20=D1=84=D1=80?= =?UTF-8?q?=D0=B0=D0=BD=D1=86=D1=83=D0=B7=D1=81=D0=BA=D0=BE=D0=B3=D0=BE=20?= =?UTF-8?q?=D0=BF=D0=B5=D1=80=D0=B5=D0=B2=D0=BE=D0=B4=D0=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pym/install/migrate_users.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pym/install/migrate_users.py b/pym/install/migrate_users.py index d00a5c5..f862eb2 100644 --- a/pym/install/migrate_users.py +++ b/pym/install/migrate_users.py @@ -401,11 +401,11 @@ class migrate: notWrite = lambda x: not os.access(x, os.W_OK) filesNotRead = filter(notRead,checkThisFiles) if filesNotRead: - raise MigrationError(_("Failed to read files") + ": " +\ + raise MigrationError(_("Failed to read files") + _(": ") + ", ".join(filesNotRead)) filesNotWrite = filter(notWrite,checkNewFiles) if filesNotWrite: - raise MigrationError(_("Failed to write to files") + ": " +\ + raise MigrationError(_("Failed to write to files") + _(": ") + ", ".join(filesNotWrite)) # Check permissions backup files checkNewBackupFiles = map(lambda x:pathJoin(self.prefixNewSystem,x+"-"), @@ -415,7 +415,7 @@ class migrate: not os.access(os.path.dirname(x), os.W_OK)) filesNotWrite = filter(notWriteBackup, checkNewBackupFiles) if filesNotWrite: - raise MigrationError(_("Failed to write to files") + ": " +\ + raise MigrationError(_("Failed to write to files") + _(": ") + ", ".join(filesNotWrite)) return True