diff webapollo.py @ 6:c753a0ef794e 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:28:37 -0400
parents f7e9c792047b
children df0e4eb2dfa5
line wrap: on
line diff
--- a/webapollo.py	Fri Aug 31 09:34:42 2018 -0400
+++ b/webapollo.py	Tue Oct 30 04:28:37 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: