From acb4094193219d45c2790904a95378705cf97da5 Mon Sep 17 00:00:00 2001 From: titoko Date: Tue, 3 Dec 2013 21:02:34 +0100 Subject: [PATCH] Update yunohost_app.py --- yunohost_app.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/yunohost_app.py b/yunohost_app.py index 4c2bb197..956884d4 100644 --- a/yunohost_app.py +++ b/yunohost_app.py @@ -150,7 +150,7 @@ def app_list(offset=None, limit=None, filter=None, raw=False): continue with open( apps_setting_path + app +'/manifest.json') as json_manifest: app_dict[app] = {"manifest":json.loads(str(json_manifest.read()))} - app_dict[app]['manifest']['orphan']=True#{ 'orphan': True } + app_dict[app]['manifest']['orphan']=True if len(app_dict) > (0 + offset) and limit > 0: sorted_app_dict = {} @@ -411,7 +411,6 @@ def app_install(app, label=None, args=None): except: args_dict = {} - # Execute App install script os.system('chown -hR admin: '+ install_tmp) # Move scripts and manifest to the right place @@ -689,7 +688,7 @@ def app_ssowatconf(): users = {} for user in user_list()['Users']: users[user['Username']] = app_map(user=user['Username']) - + skipped_uri=[] apps={} for app in app_list()['Apps']: @@ -701,7 +700,6 @@ def app_ssowatconf(): for domain in domains: skipped_uri.extend([domain +'/ynhadmin', domain +'/ynhapi']) - conf_dict = { 'portal_domain': main_domain, 'portal_path': '/ynhsso/',