{"action":"created","comment":{"url":"https://api.github.com/repos/DIRACGrid/DIRAC/pulls/comments/68395420","id":68395420,"diff_hunk":"@@ -77,9 +77,12 @@ def setNoVO( arg ):\n for se, statusDict in res[ 'Value' ].items():\n \n   # Check if the SE is allowed for the user VO\n-  voList = gConfig.getValue( '/Resources/StorageElements/%s/VO' % se, [] )\n-  if voList and not vo in voList:\n-    continue\n+  if not allVOsFlag:\n+    voList = gConfig.getValue( '/Resources/StorageElements/%s/VO' % se, [] )\n+    if noVOFlag and voList:\n+      continue\n+    if voList and not vo in voList:","path":"DataManagementSystem/scripts/dirac-dms-show-se-status.py","position":null,"original_position":11,"commit_id":"9da45cccf4e676fd24880a534ed3e02b10b984fa","original_commit_id":"9da45cccf4e676fd24880a534ed3e02b10b984fa","user":{"login":"vipersec","id":8127545,"avatar_url":"https://avatars.githubusercontent.com/u/8127545?v=3","gravatar_id":"","url":"https://api.github.com/users/vipersec","html_url":"https://github.com/vipersec","followers_url":"https://api.github.com/users/vipersec/followers","following_url":"https://api.github.com/users/vipersec/following{/other_user}","gists_url":"https://api.github.com/users/vipersec/gists{/gist_id}","starred_url":"https://api.github.com/users/vipersec/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vipersec/subscriptions","organizations_url":"https://api.github.com/users/vipersec/orgs","repos_url":"https://api.github.com/users/vipersec/repos","events_url":"https://api.github.com/users/vipersec/events{/privacy}","received_events_url":"https://api.github.com/users/vipersec/received_events","type":"User","site_admin":false},"body":"Basically that's not part of my code, I saw what is the current file here: https://github.com/DIRACGrid/DIRAC/blob/rel-v6r15/DataManagementSystem/scripts/dirac-dms-show-se-status.py#L80 and copied it to fix a conflict. \r\n\r\nShould I change it?","created_at":"2016-06-24T13:11:59Z","updated_at":"2016-06-24T13:11:59Z","html_url":"https://github.com/DIRACGrid/DIRAC/pull/2863#discussion_r68395420","pull_request_url":"https://api.github.com/repos/DIRACGrid/DIRAC/pulls/2863","_links":{"self":{"href":"https://api.github.com/repos/DIRACGrid/DIRAC/pulls/comments/68395420"},"html":{"href":"https://github.com/DIRACGrid/DIRAC/pull/2863#discussion_r68395420"},"pull_request":{"href":"https://api.github.com/repos/DIRACGrid/DIRAC/pulls/2863"}}},"pull_request":{"url":"https://api.github.com/repos/DIRACGrid/DIRAC/pulls/2863","id":63562101,"html_url":"https://github.com/DIRACGrid/DIRAC/pull/2863","diff_url":"https://github.com/DIRACGrid/DIRAC/pull/2863.diff","patch_url":"https://github.com/DIRACGrid/DIRAC/pull/2863.patch","issue_url":"https://api.github.com/repos/DIRACGrid/DIRAC/issues/2863","number":2863,"state":"open","locked":false,"title":"[v6r16] Methods to use the RSS status for CEs, FTS and Catalogs","user":{"login":"vipersec","id":8127545,"avatar_url":"https://avatars.githubusercontent.com/u/8127545?v=3","gravatar_id":"","url":"https://api.github.com/users/vipersec","html_url":"https://github.com/vipersec","followers_url":"https://api.github.com/users/vipersec/followers","following_url":"https://api.github.com/users/vipersec/following{/other_user}","gists_url":"https://api.github.com/users/vipersec/gists{/gist_id}","starred_url":"https://api.github.com/users/vipersec/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vipersec/subscriptions","organizations_url":"https://api.github.com/users/vipersec/orgs","repos_url":"https://api.github.com/users/vipersec/repos","events_url":"https://api.github.com/users/vipersec/events{/privacy}","received_events_url":"https://api.github.com/users/vipersec/received_events","type":"User","site_admin":false},"body":"I added `getComputingElementStatus()` and `setComputingElementStatus()` for the time being.","created_at":"2016-03-21T13:18:38Z","updated_at":"2016-06-24T13:11:59Z","closed_at":null,"merged_at":null,"merge_commit_sha":"fc053eab924c0fe76d428670e3eaa7e551e06279","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/DIRACGrid/DIRAC/pulls/2863/commits","review_comments_url":"https://api.github.com/repos/DIRACGrid/DIRAC/pulls/2863/comments","review_comment_url":"https://api.github.com/repos/DIRACGrid/DIRAC/pulls/comments{/number}","comments_url":"https://api.github.com/repos/DIRACGrid/DIRAC/issues/2863/comments","statuses_url":"https://api.github.com/repos/DIRACGrid/DIRAC/statuses/9da45cccf4e676fd24880a534ed3e02b10b984fa","head":{"label":"vipersec:RSS_all_resources","ref":"RSS_all_resources","sha":"9da45cccf4e676fd24880a534ed3e02b10b984fa","user":{"login":"vipersec","id":8127545,"avatar_url":"https://avatars.githubusercontent.com/u/8127545?v=3","gravatar_id":"","url":"https://api.github.com/users/vipersec","html_url":"https://github.com/vipersec","followers_url":"https://api.github.com/users/vipersec/followers","following_url":"https://api.github.com/users/vipersec/following{/other_user}","gists_url":"https://api.github.com/users/vipersec/gists{/gist_id}","starred_url":"https://api.github.com/users/vipersec/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vipersec/subscriptions","organizations_url":"https://api.github.com/users/vipersec/orgs","repos_url":"https://api.github.com/users/vipersec/repos","events_url":"https://api.github.com/users/vipersec/events{/privacy}","received_events_url":"https://api.github.com/users/vipersec/received_events","type":"User","site_admin":false},"repo":{"id":51287138,"name":"DIRAC","full_name":"vipersec/DIRAC","owner":{"login":"vipersec","id":8127545,"avatar_url":"https://avatars.githubusercontent.com/u/8127545?v=3","gravatar_id":"","url":"https://api.github.com/users/vipersec","html_url":"https://github.com/vipersec","followers_url":"https://api.github.com/users/vipersec/followers","following_url":"https://api.github.com/users/vipersec/following{/other_user}","gists_url":"https://api.github.com/users/vipersec/gists{/gist_id}","starred_url":"https://api.github.com/users/vipersec/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vipersec/subscriptions","organizations_url":"https://api.github.com/users/vipersec/orgs","repos_url":"https://api.github.com/users/vipersec/repos","events_url":"https://api.github.com/users/vipersec/events{/privacy}","received_events_url":"https://api.github.com/users/vipersec/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/vipersec/DIRAC","description":"DIRAC Grid","fork":true,"url":"https://api.github.com/repos/vipersec/DIRAC","forks_url":"https://api.github.com/repos/vipersec/DIRAC/forks","keys_url":"https://api.github.com/repos/vipersec/DIRAC/keys{/key_id}","collaborators_url":"https://api.github.com/repos/vipersec/DIRAC/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/vipersec/DIRAC/teams","hooks_url":"https://api.github.com/repos/vipersec/DIRAC/hooks","issue_events_url":"https://api.github.com/repos/vipersec/DIRAC/issues/events{/number}","events_url":"https://api.github.com/repos/vipersec/DIRAC/events","assignees_url":"https://api.github.com/repos/vipersec/DIRAC/assignees{/user}","branches_url":"https://api.github.com/repos/vipersec/DIRAC/branches{/branch}","tags_url":"https://api.github.com/repos/vipersec/DIRAC/tags","blobs_url":"https://api.github.com/repos/vipersec/DIRAC/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/vipersec/DIRAC/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/vipersec/DIRAC/git/refs{/sha}","trees_url":"https://api.github.com/repos/vipersec/DIRAC/git/trees{/sha}","statuses_url":"https://api.github.com/repos/vipersec/DIRAC/statuses/{sha}","languages_url":"https://api.github.com/repos/vipersec/DIRAC/languages","stargazers_url":"https://api.github.com/repos/vipersec/DIRAC/stargazers","contributors_url":"https://api.github.com/repos/vipersec/DIRAC/contributors","subscribers_url":"https://api.github.com/repos/vipersec/DIRAC/subscribers","subscription_url":"https://api.github.com/repos/vipersec/DIRAC/subscription","commits_url":"https://api.github.com/repos/vipersec/DIRAC/commits{/sha}","git_commits_url":"https://api.github.com/repos/vipersec/DIRAC/git/commits{/sha}","comments_url":"https://api.github.com/repos/vipersec/DIRAC/comments{/number}","issue_comment_url":"https://api.github.com/repos/vipersec/DIRAC/issues/comments{/number}","contents_url":"https://api.github.com/repos/vipersec/DIRAC/contents/{+path}","compare_url":"https://api.github.com/repos/vipersec/DIRAC/compare/{base}...{head}","merges_url":"https://api.github.com/repos/vipersec/DIRAC/merges","archive_url":"https://api.github.com/repos/vipersec/DIRAC/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/vipersec/DIRAC/downloads","issues_url":"https://api.github.com/repos/vipersec/DIRAC/issues{/number}","pulls_url":"https://api.github.com/repos/vipersec/DIRAC/pulls{/number}","milestones_url":"https://api.github.com/repos/vipersec/DIRAC/milestones{/number}","notifications_url":"https://api.github.com/repos/vipersec/DIRAC/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/vipersec/DIRAC/labels{/name}","releases_url":"https://api.github.com/repos/vipersec/DIRAC/releases{/id}","deployments_url":"https://api.github.com/repos/vipersec/DIRAC/deployments","created_at":"2016-02-08T08:49:32Z","updated_at":"2016-02-08T08:49:36Z","pushed_at":"2016-06-24T13:04:49Z","git_url":"git://github.com/vipersec/DIRAC.git","ssh_url":"git@github.com:vipersec/DIRAC.git","clone_url":"https://github.com/vipersec/DIRAC.git","svn_url":"https://github.com/vipersec/DIRAC","homepage":"http://diracgrid.org","size":41931,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"integration"}},"base":{"label":"DIRACGrid:rel-v6r15","ref":"rel-v6r15","sha":"3bd2c554bd0dd79376ad11f2236cc8ced3faf046","user":{"login":"DIRACGrid","id":694842,"avatar_url":"https://avatars.githubusercontent.com/u/694842?v=3","gravatar_id":"","url":"https://api.github.com/users/DIRACGrid","html_url":"https://github.com/DIRACGrid","followers_url":"https://api.github.com/users/DIRACGrid/followers","following_url":"https://api.github.com/users/DIRACGrid/following{/other_user}","gists_url":"https://api.github.com/users/DIRACGrid/gists{/gist_id}","starred_url":"https://api.github.com/users/DIRACGrid/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DIRACGrid/subscriptions","organizations_url":"https://api.github.com/users/DIRACGrid/orgs","repos_url":"https://api.github.com/users/DIRACGrid/repos","events_url":"https://api.github.com/users/DIRACGrid/events{/privacy}","received_events_url":"https://api.github.com/users/DIRACGrid/received_events","type":"Organization","site_admin":false},"repo":{"id":1576831,"name":"DIRAC","full_name":"DIRACGrid/DIRAC","owner":{"login":"DIRACGrid","id":694842,"avatar_url":"https://avatars.githubusercontent.com/u/694842?v=3","gravatar_id":"","url":"https://api.github.com/users/DIRACGrid","html_url":"https://github.com/DIRACGrid","followers_url":"https://api.github.com/users/DIRACGrid/followers","following_url":"https://api.github.com/users/DIRACGrid/following{/other_user}","gists_url":"https://api.github.com/users/DIRACGrid/gists{/gist_id}","starred_url":"https://api.github.com/users/DIRACGrid/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DIRACGrid/subscriptions","organizations_url":"https://api.github.com/users/DIRACGrid/orgs","repos_url":"https://api.github.com/users/DIRACGrid/repos","events_url":"https://api.github.com/users/DIRACGrid/events{/privacy}","received_events_url":"https://api.github.com/users/DIRACGrid/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/DIRACGrid/DIRAC","description":"DIRAC Grid","fork":false,"url":"https://api.github.com/repos/DIRACGrid/DIRAC","forks_url":"https://api.github.com/repos/DIRACGrid/DIRAC/forks","keys_url":"https://api.github.com/repos/DIRACGrid/DIRAC/keys{/key_id}","collaborators_url":"https://api.github.com/repos/DIRACGrid/DIRAC/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/DIRACGrid/DIRAC/teams","hooks_url":"https://api.github.com/repos/DIRACGrid/DIRAC/hooks","issue_events_url":"https://api.github.com/repos/DIRACGrid/DIRAC/issues/events{/number}","events_url":"https://api.github.com/repos/DIRACGrid/DIRAC/events","assignees_url":"https://api.github.com/repos/DIRACGrid/DIRAC/assignees{/user}","branches_url":"https://api.github.com/repos/DIRACGrid/DIRAC/branches{/branch}","tags_url":"https://api.github.com/repos/DIRACGrid/DIRAC/tags","blobs_url":"https://api.github.com/repos/DIRACGrid/DIRAC/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/DIRACGrid/DIRAC/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/DIRACGrid/DIRAC/git/refs{/sha}","trees_url":"https://api.github.com/repos/DIRACGrid/DIRAC/git/trees{/sha}","statuses_url":"https://api.github.com/repos/DIRACGrid/DIRAC/statuses/{sha}","languages_url":"https://api.github.com/repos/DIRACGrid/DIRAC/languages","stargazers_url":"https://api.github.com/repos/DIRACGrid/DIRAC/stargazers","contributors_url":"https://api.github.com/repos/DIRACGrid/DIRAC/contributors","subscribers_url":"https://api.github.com/repos/DIRACGrid/DIRAC/subscribers","subscription_url":"https://api.github.com/repos/DIRACGrid/DIRAC/subscription","commits_url":"https://api.github.com/repos/DIRACGrid/DIRAC/commits{/sha}","git_commits_url":"https://api.github.com/repos/DIRACGrid/DIRAC/git/commits{/sha}","comments_url":"https://api.github.com/repos/DIRACGrid/DIRAC/comments{/number}","issue_comment_url":"https://api.github.com/repos/DIRACGrid/DIRAC/issues/comments{/number}","contents_url":"https://api.github.com/repos/DIRACGrid/DIRAC/contents/{+path}","compare_url":"https://api.github.com/repos/DIRACGrid/DIRAC/compare/{base}...{head}","merges_url":"https://api.github.com/repos/DIRACGrid/DIRAC/merges","archive_url":"https://api.github.com/repos/DIRACGrid/DIRAC/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/DIRACGrid/DIRAC/downloads","issues_url":"https://api.github.com/repos/DIRACGrid/DIRAC/issues{/number}","pulls_url":"https://api.github.com/repos/DIRACGrid/DIRAC/pulls{/number}","milestones_url":"https://api.github.com/repos/DIRACGrid/DIRAC/milestones{/number}","notifications_url":"https://api.github.com/repos/DIRACGrid/DIRAC/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/DIRACGrid/DIRAC/labels{/name}","releases_url":"https://api.github.com/repos/DIRACGrid/DIRAC/releases{/id}","deployments_url":"https://api.github.com/repos/DIRACGrid/DIRAC/deployments","created_at":"2011-04-06T11:47:53Z","updated_at":"2016-06-21T22:18:29Z","pushed_at":"2016-06-24T13:09:33Z","git_url":"git://github.com/DIRACGrid/DIRAC.git","ssh_url":"git@github.com:DIRACGrid/DIRAC.git","clone_url":"https://github.com/DIRACGrid/DIRAC.git","svn_url":"https://github.com/DIRACGrid/DIRAC","homepage":"http://diracgrid.org","size":61491,"stargazers_count":49,"watchers_count":49,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":96,"mirror_url":null,"open_issues_count":98,"forks":96,"open_issues":98,"watchers":49,"default_branch":"integration"}},"_links":{"self":{"href":"https://api.github.com/repos/DIRACGrid/DIRAC/pulls/2863"},"html":{"href":"https://github.com/DIRACGrid/DIRAC/pull/2863"},"issue":{"href":"https://api.github.com/repos/DIRACGrid/DIRAC/issues/2863"},"comments":{"href":"https://api.github.com/repos/DIRACGrid/DIRAC/issues/2863/comments"},"review_comments":{"href":"https://api.github.com/repos/DIRACGrid/DIRAC/pulls/2863/comments"},"review_comment":{"href":"https://api.github.com/repos/DIRACGrid/DIRAC/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/DIRACGrid/DIRAC/pulls/2863/commits"},"statuses":{"href":"https://api.github.com/repos/DIRACGrid/DIRAC/statuses/9da45cccf4e676fd24880a534ed3e02b10b984fa"}}}}
{"actor":{"display_login":"vipersec"}}