Расширенная информация при удалении репозитория

master3.3
Mike khiretskiy hace 10 años
padre d28b4d7de4
commit 3bcae6376c

@ -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)

Cargando…
Cancelar
Guardar