From 3bcae6376c20b43a76103b603783a007fe7b33da Mon Sep 17 00:00:00 2001 From: Mike khiretskiy Date: Tue, 17 Jun 2014 16:03:30 +0400 Subject: [PATCH] =?UTF-8?q?=D0=A0=D0=B0=D1=81=D1=88=D0=B8=D1=80=D0=B5?= =?UTF-8?q?=D0=BD=D0=BD=D0=B0=D1=8F=20=D0=B8=D0=BD=D1=84=D0=BE=D1=80=D0=BC?= =?UTF-8?q?=D0=B0=D1=86=D0=B8=D1=8F=20=D0=BF=D1=80=D0=B8=20=D1=83=D0=B4?= =?UTF-8?q?=D0=B0=D0=BB=D0=B5=D0=BD=D0=B8=D0=B8=20=D1=80=D0=B5=D0=BF=D0=BE?= =?UTF-8?q?=D0=B7=D0=B8=D1=82=D0=BE=D1=80=D0=B8=D1=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- update/update.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/update/update.py b/update/update.py index e6c030a..0181cfd 100644 --- a/update/update.py +++ b/update/update.py @@ -169,10 +169,10 @@ class Update: branch, cb_progress=self.setProgress) removeDir(rpath) os.rename(rpath_new, rpath) - except OSError: - raise UpdateError(_("Permission denied to modify the " + except OSError as e: + raise UpdateError(_("Failed to modify the " "{repname} repository").format( - repname=repname)) + repname=repname)+":"+str(e)) finally: if path.exists(rpath_new): removeDir(rpath_new)