mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
[mod] remove overkill exception catching
This commit is contained in:
parent
506aaf7472
commit
9b86a9dd8b
1 changed files with 1 additions and 4 deletions
|
@ -730,10 +730,7 @@ def app_install(operation_logger, app, label=None, args=None, no_remove_on_failu
|
||||||
from yunohost.permission import permission_add, permission_update, permission_remove, permission_sync_to_user
|
from yunohost.permission import permission_add, permission_update, permission_remove, permission_sync_to_user
|
||||||
ldap = _get_ldap_interface()
|
ldap = _get_ldap_interface()
|
||||||
|
|
||||||
# Fetch or extract sources
|
if not os.path.exists(INSTALL_TMP):
|
||||||
try:
|
|
||||||
os.listdir(INSTALL_TMP)
|
|
||||||
except OSError:
|
|
||||||
os.makedirs(INSTALL_TMP)
|
os.makedirs(INSTALL_TMP)
|
||||||
|
|
||||||
status = {
|
status = {
|
||||||
|
|
Loading…
Add table
Reference in a new issue