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

master3.3
Mike khiretskiy před 10 roky
rodič d28b4d7de4
revize 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)

Načítá se…
Zrušit
Uložit