{"action":"created","comment":{"url":"https://api.github.com/repos/CMSCompOps/WmAgentScripts/pulls/comments/66596175","id":66596175,"diff_hunk":"@@ -206,9 +206,9 @@ def main():\n         elif options.sites == \"t2\":\n             sites = T2_SITES\n         else:\n-            sites = SI.sites_ready\n+            sites = [ s for s in SI.sites_ready if  (s.startswith('T1_') or s.startswith('T2_'))]\n     else: \n-         sites = SI.sites_ready\n+        sites = [ s for s in SI.sites_ready if  (s.startswith('T1_') or s.startswith('T2_')]","path":"assign.py","position":8,"original_position":8,"commit_id":"53540de2b9bcc94aab156df0318a3e30b516602d","original_commit_id":"53540de2b9bcc94aab156df0318a3e30b516602d","user":{"login":"prozober","id":17066101,"avatar_url":"https://avatars.githubusercontent.com/u/17066101?v=3","gravatar_id":"","url":"https://api.github.com/users/prozober","html_url":"https://github.com/prozober","followers_url":"https://api.github.com/users/prozober/followers","following_url":"https://api.github.com/users/prozober/following{/other_user}","gists_url":"https://api.github.com/users/prozober/gists{/gist_id}","starred_url":"https://api.github.com/users/prozober/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/prozober/subscriptions","organizations_url":"https://api.github.com/users/prozober/orgs","repos_url":"https://api.github.com/users/prozober/repos","events_url":"https://api.github.com/users/prozober/events{/privacy}","received_events_url":"https://api.github.com/users/prozober/received_events","type":"User","site_admin":false},"body":"I am trying to use the script, and the first error I got is a \"SyntaxError: invalid syntax\" in this line.","created_at":"2016-06-10T10:59:36Z","updated_at":"2016-06-10T10:59:36Z","html_url":"https://github.com/CMSCompOps/WmAgentScripts/pull/151#discussion_r66596175","pull_request_url":"https://api.github.com/repos/CMSCompOps/WmAgentScripts/pulls/151","_links":{"self":{"href":"https://api.github.com/repos/CMSCompOps/WmAgentScripts/pulls/comments/66596175"},"html":{"href":"https://github.com/CMSCompOps/WmAgentScripts/pull/151#discussion_r66596175"},"pull_request":{"href":"https://api.github.com/repos/CMSCompOps/WmAgentScripts/pulls/151"}}},"pull_request":{"url":"https://api.github.com/repos/CMSCompOps/WmAgentScripts/pulls/151","id":73317376,"html_url":"https://github.com/CMSCompOps/WmAgentScripts/pull/151","diff_url":"https://github.com/CMSCompOps/WmAgentScripts/pull/151.diff","patch_url":"https://github.com/CMSCompOps/WmAgentScripts/pull/151.patch","issue_url":"https://api.github.com/repos/CMSCompOps/WmAgentScripts/issues/151","number":151,"state":"open","locked":false,"title":"Set acquisition era and processing string correctly in assign.py","user":{"login":"areinsvo","id":7669806,"avatar_url":"https://avatars.githubusercontent.com/u/7669806?v=3","gravatar_id":"","url":"https://api.github.com/users/areinsvo","html_url":"https://github.com/areinsvo","followers_url":"https://api.github.com/users/areinsvo/followers","following_url":"https://api.github.com/users/areinsvo/following{/other_user}","gists_url":"https://api.github.com/users/areinsvo/gists{/gist_id}","starred_url":"https://api.github.com/users/areinsvo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/areinsvo/subscriptions","organizations_url":"https://api.github.com/users/areinsvo/orgs","repos_url":"https://api.github.com/users/areinsvo/repos","events_url":"https://api.github.com/users/areinsvo/events{/privacy}","received_events_url":"https://api.github.com/users/areinsvo/received_events","type":"User","site_admin":false},"body":"Edited assign.py to correctly set the acquisition era and processing string values when assigning. For merge ACDCs, no value is given. For all other workflows, era and procstring should inherit from the original workflow.\r\n\r\nSee also https://github.com/CMSCompOps/WmAgentScripts/issues/150","created_at":"2016-06-10T03:29:43Z","updated_at":"2016-06-10T10:59:36Z","closed_at":null,"merged_at":null,"merge_commit_sha":"dc4ba63a36f71a3994364a311cb1a22468d7c971","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/CMSCompOps/WmAgentScripts/pulls/151/commits","review_comments_url":"https://api.github.com/repos/CMSCompOps/WmAgentScripts/pulls/151/comments","review_comment_url":"https://api.github.com/repos/CMSCompOps/WmAgentScripts/pulls/comments{/number}","comments_url":"https://api.github.com/repos/CMSCompOps/WmAgentScripts/issues/151/comments","statuses_url":"https://api.github.com/repos/CMSCompOps/WmAgentScripts/statuses/53540de2b9bcc94aab156df0318a3e30b516602d","head":{"label":"areinsvo:EditAssignment","ref":"EditAssignment","sha":"53540de2b9bcc94aab156df0318a3e30b516602d","user":{"login":"areinsvo","id":7669806,"avatar_url":"https://avatars.githubusercontent.com/u/7669806?v=3","gravatar_id":"","url":"https://api.github.com/users/areinsvo","html_url":"https://github.com/areinsvo","followers_url":"https://api.github.com/users/areinsvo/followers","following_url":"https://api.github.com/users/areinsvo/following{/other_user}","gists_url":"https://api.github.com/users/areinsvo/gists{/gist_id}","starred_url":"https://api.github.com/users/areinsvo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/areinsvo/subscriptions","organizations_url":"https://api.github.com/users/areinsvo/orgs","repos_url":"https://api.github.com/users/areinsvo/repos","events_url":"https://api.github.com/users/areinsvo/events{/privacy}","received_events_url":"https://api.github.com/users/areinsvo/received_events","type":"User","site_admin":false},"repo":{"id":56174410,"name":"WmAgentScripts-1","full_name":"areinsvo/WmAgentScripts-1","owner":{"login":"areinsvo","id":7669806,"avatar_url":"https://avatars.githubusercontent.com/u/7669806?v=3","gravatar_id":"","url":"https://api.github.com/users/areinsvo","html_url":"https://github.com/areinsvo","followers_url":"https://api.github.com/users/areinsvo/followers","following_url":"https://api.github.com/users/areinsvo/following{/other_user}","gists_url":"https://api.github.com/users/areinsvo/gists{/gist_id}","starred_url":"https://api.github.com/users/areinsvo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/areinsvo/subscriptions","organizations_url":"https://api.github.com/users/areinsvo/orgs","repos_url":"https://api.github.com/users/areinsvo/repos","events_url":"https://api.github.com/users/areinsvo/events{/privacy}","received_events_url":"https://api.github.com/users/areinsvo/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/areinsvo/WmAgentScripts-1","description":"CMS Workflow Team Scripts","fork":true,"url":"https://api.github.com/repos/areinsvo/WmAgentScripts-1","forks_url":"https://api.github.com/repos/areinsvo/WmAgentScripts-1/forks","keys_url":"https://api.github.com/repos/areinsvo/WmAgentScripts-1/keys{/key_id}","collaborators_url":"https://api.github.com/repos/areinsvo/WmAgentScripts-1/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/areinsvo/WmAgentScripts-1/teams","hooks_url":"https://api.github.com/repos/areinsvo/WmAgentScripts-1/hooks","issue_events_url":"https://api.github.com/repos/areinsvo/WmAgentScripts-1/issues/events{/number}","events_url":"https://api.github.com/repos/areinsvo/WmAgentScripts-1/events","assignees_url":"https://api.github.com/repos/areinsvo/WmAgentScripts-1/assignees{/user}","branches_url":"https://api.github.com/repos/areinsvo/WmAgentScripts-1/branches{/branch}","tags_url":"https://api.github.com/repos/areinsvo/WmAgentScripts-1/tags","blobs_url":"https://api.github.com/repos/areinsvo/WmAgentScripts-1/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/areinsvo/WmAgentScripts-1/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/areinsvo/WmAgentScripts-1/git/refs{/sha}","trees_url":"https://api.github.com/repos/areinsvo/WmAgentScripts-1/git/trees{/sha}","statuses_url":"https://api.github.com/repos/areinsvo/WmAgentScripts-1/statuses/{sha}","languages_url":"https://api.github.com/repos/areinsvo/WmAgentScripts-1/languages","stargazers_url":"https://api.github.com/repos/areinsvo/WmAgentScripts-1/stargazers","contributors_url":"https://api.github.com/repos/areinsvo/WmAgentScripts-1/contributors","subscribers_url":"https://api.github.com/repos/areinsvo/WmAgentScripts-1/subscribers","subscription_url":"https://api.github.com/repos/areinsvo/WmAgentScripts-1/subscription","commits_url":"https://api.github.com/repos/areinsvo/WmAgentScripts-1/commits{/sha}","git_commits_url":"https://api.github.com/repos/areinsvo/WmAgentScripts-1/git/commits{/sha}","comments_url":"https://api.github.com/repos/areinsvo/WmAgentScripts-1/comments{/number}","issue_comment_url":"https://api.github.com/repos/areinsvo/WmAgentScripts-1/issues/comments{/number}","contents_url":"https://api.github.com/repos/areinsvo/WmAgentScripts-1/contents/{+path}","compare_url":"https://api.github.com/repos/areinsvo/WmAgentScripts-1/compare/{base}...{head}","merges_url":"https://api.github.com/repos/areinsvo/WmAgentScripts-1/merges","archive_url":"https://api.github.com/repos/areinsvo/WmAgentScripts-1/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/areinsvo/WmAgentScripts-1/downloads","issues_url":"https://api.github.com/repos/areinsvo/WmAgentScripts-1/issues{/number}","pulls_url":"https://api.github.com/repos/areinsvo/WmAgentScripts-1/pulls{/number}","milestones_url":"https://api.github.com/repos/areinsvo/WmAgentScripts-1/milestones{/number}","notifications_url":"https://api.github.com/repos/areinsvo/WmAgentScripts-1/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/areinsvo/WmAgentScripts-1/labels{/name}","releases_url":"https://api.github.com/repos/areinsvo/WmAgentScripts-1/releases{/id}","deployments_url":"https://api.github.com/repos/areinsvo/WmAgentScripts-1/deployments","created_at":"2016-04-13T17:58:52Z","updated_at":"2016-04-13T17:58:53Z","pushed_at":"2016-06-10T03:27:16Z","git_url":"git://github.com/areinsvo/WmAgentScripts-1.git","ssh_url":"git@github.com:areinsvo/WmAgentScripts-1.git","clone_url":"https://github.com/areinsvo/WmAgentScripts-1.git","svn_url":"https://github.com/areinsvo/WmAgentScripts-1","homepage":null,"size":2985,"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":"master"}},"base":{"label":"CMSCompOps:master","ref":"master","sha":"5b311c9cfe259d5e4ce7aa4a86b7296d38d56bec","user":{"login":"CMSCompOps","id":5306749,"avatar_url":"https://avatars.githubusercontent.com/u/5306749?v=3","gravatar_id":"","url":"https://api.github.com/users/CMSCompOps","html_url":"https://github.com/CMSCompOps","followers_url":"https://api.github.com/users/CMSCompOps/followers","following_url":"https://api.github.com/users/CMSCompOps/following{/other_user}","gists_url":"https://api.github.com/users/CMSCompOps/gists{/gist_id}","starred_url":"https://api.github.com/users/CMSCompOps/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CMSCompOps/subscriptions","organizations_url":"https://api.github.com/users/CMSCompOps/orgs","repos_url":"https://api.github.com/users/CMSCompOps/repos","events_url":"https://api.github.com/users/CMSCompOps/events{/privacy}","received_events_url":"https://api.github.com/users/CMSCompOps/received_events","type":"Organization","site_admin":false},"repo":{"id":12407061,"name":"WmAgentScripts","full_name":"CMSCompOps/WmAgentScripts","owner":{"login":"CMSCompOps","id":5306749,"avatar_url":"https://avatars.githubusercontent.com/u/5306749?v=3","gravatar_id":"","url":"https://api.github.com/users/CMSCompOps","html_url":"https://github.com/CMSCompOps","followers_url":"https://api.github.com/users/CMSCompOps/followers","following_url":"https://api.github.com/users/CMSCompOps/following{/other_user}","gists_url":"https://api.github.com/users/CMSCompOps/gists{/gist_id}","starred_url":"https://api.github.com/users/CMSCompOps/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CMSCompOps/subscriptions","organizations_url":"https://api.github.com/users/CMSCompOps/orgs","repos_url":"https://api.github.com/users/CMSCompOps/repos","events_url":"https://api.github.com/users/CMSCompOps/events{/privacy}","received_events_url":"https://api.github.com/users/CMSCompOps/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/CMSCompOps/WmAgentScripts","description":"CMS Workflow Team Scripts","fork":false,"url":"https://api.github.com/repos/CMSCompOps/WmAgentScripts","forks_url":"https://api.github.com/repos/CMSCompOps/WmAgentScripts/forks","keys_url":"https://api.github.com/repos/CMSCompOps/WmAgentScripts/keys{/key_id}","collaborators_url":"https://api.github.com/repos/CMSCompOps/WmAgentScripts/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/CMSCompOps/WmAgentScripts/teams","hooks_url":"https://api.github.com/repos/CMSCompOps/WmAgentScripts/hooks","issue_events_url":"https://api.github.com/repos/CMSCompOps/WmAgentScripts/issues/events{/number}","events_url":"https://api.github.com/repos/CMSCompOps/WmAgentScripts/events","assignees_url":"https://api.github.com/repos/CMSCompOps/WmAgentScripts/assignees{/user}","branches_url":"https://api.github.com/repos/CMSCompOps/WmAgentScripts/branches{/branch}","tags_url":"https://api.github.com/repos/CMSCompOps/WmAgentScripts/tags","blobs_url":"https://api.github.com/repos/CMSCompOps/WmAgentScripts/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/CMSCompOps/WmAgentScripts/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/CMSCompOps/WmAgentScripts/git/refs{/sha}","trees_url":"https://api.github.com/repos/CMSCompOps/WmAgentScripts/git/trees{/sha}","statuses_url":"https://api.github.com/repos/CMSCompOps/WmAgentScripts/statuses/{sha}","languages_url":"https://api.github.com/repos/CMSCompOps/WmAgentScripts/languages","stargazers_url":"https://api.github.com/repos/CMSCompOps/WmAgentScripts/stargazers","contributors_url":"https://api.github.com/repos/CMSCompOps/WmAgentScripts/contributors","subscribers_url":"https://api.github.com/repos/CMSCompOps/WmAgentScripts/subscribers","subscription_url":"https://api.github.com/repos/CMSCompOps/WmAgentScripts/subscription","commits_url":"https://api.github.com/repos/CMSCompOps/WmAgentScripts/commits{/sha}","git_commits_url":"https://api.github.com/repos/CMSCompOps/WmAgentScripts/git/commits{/sha}","comments_url":"https://api.github.com/repos/CMSCompOps/WmAgentScripts/comments{/number}","issue_comment_url":"https://api.github.com/repos/CMSCompOps/WmAgentScripts/issues/comments{/number}","contents_url":"https://api.github.com/repos/CMSCompOps/WmAgentScripts/contents/{+path}","compare_url":"https://api.github.com/repos/CMSCompOps/WmAgentScripts/compare/{base}...{head}","merges_url":"https://api.github.com/repos/CMSCompOps/WmAgentScripts/merges","archive_url":"https://api.github.com/repos/CMSCompOps/WmAgentScripts/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/CMSCompOps/WmAgentScripts/downloads","issues_url":"https://api.github.com/repos/CMSCompOps/WmAgentScripts/issues{/number}","pulls_url":"https://api.github.com/repos/CMSCompOps/WmAgentScripts/pulls{/number}","milestones_url":"https://api.github.com/repos/CMSCompOps/WmAgentScripts/milestones{/number}","notifications_url":"https://api.github.com/repos/CMSCompOps/WmAgentScripts/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/CMSCompOps/WmAgentScripts/labels{/name}","releases_url":"https://api.github.com/repos/CMSCompOps/WmAgentScripts/releases{/id}","deployments_url":"https://api.github.com/repos/CMSCompOps/WmAgentScripts/deployments","created_at":"2013-08-27T13:39:59Z","updated_at":"2016-02-25T06:52:28Z","pushed_at":"2016-06-10T03:29:43Z","git_url":"git://github.com/CMSCompOps/WmAgentScripts.git","ssh_url":"git@github.com:CMSCompOps/WmAgentScripts.git","clone_url":"https://github.com/CMSCompOps/WmAgentScripts.git","svn_url":"https://github.com/CMSCompOps/WmAgentScripts","homepage":null,"size":4038,"stargazers_count":2,"watchers_count":2,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":20,"mirror_url":null,"open_issues_count":5,"forks":20,"open_issues":5,"watchers":2,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/CMSCompOps/WmAgentScripts/pulls/151"},"html":{"href":"https://github.com/CMSCompOps/WmAgentScripts/pull/151"},"issue":{"href":"https://api.github.com/repos/CMSCompOps/WmAgentScripts/issues/151"},"comments":{"href":"https://api.github.com/repos/CMSCompOps/WmAgentScripts/issues/151/comments"},"review_comments":{"href":"https://api.github.com/repos/CMSCompOps/WmAgentScripts/pulls/151/comments"},"review_comment":{"href":"https://api.github.com/repos/CMSCompOps/WmAgentScripts/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/CMSCompOps/WmAgentScripts/pulls/151/commits"},"statuses":{"href":"https://api.github.com/repos/CMSCompOps/WmAgentScripts/statuses/53540de2b9bcc94aab156df0318a3e30b516602d"}}}}
{"actor":{"display_login":"prozober"}}