Browse Source

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

tags/3.2.0_alpha12
Mike khiretskiy 7 years ago
parent
commit
3bcae6376c
1 changed files with 3 additions and 3 deletions
  1. +3
    -3
      update/update.py

+ 3
- 3
update/update.py View File

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


Loading…
Cancel
Save