diff webapollo.py @ 6:466f03bef714 draft

planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/apollo commit d9f27b297d9a919471c92b02ecf6cc9554457211
author gga
date Tue, 30 Oct 2018 04:30:22 -0400
parents 207c1c281360
children c6172b538caf
line wrap: on
line diff
--- a/webapollo.py	Fri Aug 31 09:33:49 2018 -0400
+++ b/webapollo.py	Tue Oct 30 04:30:22 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: