changeset 7:978f15fc4676 draft

planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/apollo commit d9f27b297d9a919471c92b02ecf6cc9554457211
author gga
date Thu, 25 Oct 2018 05:48:45 -0400
parents 8c2e4dfc2f0d
children 289672590155
files webapollo.py
diffstat 1 files changed, 1 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/webapollo.py	Fri Aug 31 09:32:25 2018 -0400
+++ b/webapollo.py	Thu Oct 25 05:48:45 2018 -0400
@@ -1544,10 +1544,7 @@
     permissionMap = {
         x['organism']: x['permissions']
         for x in user.organismPermissions
-        if 'WRITE' in x['permissions'] or
-        'READ' in x['permissions'] or
-        'ADMINISTRATE' in x['permissions'] or
-        user.role == 'ADMIN'
+        if 'WRITE' in x['permissions'] or 'READ' in x['permissions'] or 'ADMINISTRATE' in x['permissions'] or user.role == 'ADMIN'
     }
 
     if 'error' in orgs: