{"action":"closed","number":11823,"pull_request":{"url":"https://api.github.com/repos/cms-sw/cmssw/pulls/11823","id":47800620,"html_url":"https://github.com/cms-sw/cmssw/pull/11823","diff_url":"https://github.com/cms-sw/cmssw/pull/11823.diff","patch_url":"https://github.com/cms-sw/cmssw/pull/11823.patch","issue_url":"https://api.github.com/repos/cms-sw/cmssw/issues/11823","number":11823,"state":"closed","locked":false,"title":"Fix --dump_python option in cmsDriver","user":{"login":"mark-grimes","id":6480160,"avatar_url":"https://avatars.githubusercontent.com/u/6480160?v=3","gravatar_id":"","url":"https://api.github.com/users/mark-grimes","html_url":"https://github.com/mark-grimes","followers_url":"https://api.github.com/users/mark-grimes/followers","following_url":"https://api.github.com/users/mark-grimes/following{/other_user}","gists_url":"https://api.github.com/users/mark-grimes/gists{/gist_id}","starred_url":"https://api.github.com/users/mark-grimes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mark-grimes/subscriptions","organizations_url":"https://api.github.com/users/mark-grimes/orgs","repos_url":"https://api.github.com/users/mark-grimes/repos","events_url":"https://api.github.com/users/mark-grimes/events{/privacy}","received_events_url":"https://api.github.com/users/mark-grimes/received_events","type":"User","site_admin":false},"body":"Currently, if you specify the --dump_python option to cmsDriver the resulting file will have none of the era changes applied.  When `execfile` is used on the confg file during the `if options.dump_python:` branch, it picks up references to the modules already loaded (which don't have eras applied) rather than reloading any modules.\r\nThis fixes that by switching on any eras before the first reading of the modules.\r\n\r\n@lveldere, @Dr15Jones \r\n","created_at":"2015-10-15T15:18:10Z","updated_at":"2015-10-16T20:05:15Z","closed_at":"2015-10-16T20:05:15Z","merged_at":"2015-10-16T20:05:15Z","merge_commit_sha":"ca009b04dabe943a37b8ae59641b0acb13271ad5","assignee":null,"milestone":{"url":"https://api.github.com/repos/cms-sw/cmssw/milestones/55","html_url":"https://github.com/cms-sw/cmssw/milestones/Next%20CMSSW_7_6_X","labels_url":"https://api.github.com/repos/cms-sw/cmssw/milestones/55/labels","id":1176788,"number":55,"title":"Next CMSSW_7_6_X","description":"","creator":{"login":"smuzaffar","id":4115138,"avatar_url":"https://avatars.githubusercontent.com/u/4115138?v=3","gravatar_id":"","url":"https://api.github.com/users/smuzaffar","html_url":"https://github.com/smuzaffar","followers_url":"https://api.github.com/users/smuzaffar/followers","following_url":"https://api.github.com/users/smuzaffar/following{/other_user}","gists_url":"https://api.github.com/users/smuzaffar/gists{/gist_id}","starred_url":"https://api.github.com/users/smuzaffar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/smuzaffar/subscriptions","organizations_url":"https://api.github.com/users/smuzaffar/orgs","repos_url":"https://api.github.com/users/smuzaffar/repos","events_url":"https://api.github.com/users/smuzaffar/events{/privacy}","received_events_url":"https://api.github.com/users/smuzaffar/received_events","type":"User","site_admin":false},"open_issues":95,"closed_issues":933,"state":"open","created_at":"2015-06-23T07:27:04Z","updated_at":"2015-10-16T20:05:15Z","due_on":null,"closed_at":null},"commits_url":"https://api.github.com/repos/cms-sw/cmssw/pulls/11823/commits","review_comments_url":"https://api.github.com/repos/cms-sw/cmssw/pulls/11823/comments","review_comment_url":"https://api.github.com/repos/cms-sw/cmssw/pulls/comments{/number}","comments_url":"https://api.github.com/repos/cms-sw/cmssw/issues/11823/comments","statuses_url":"https://api.github.com/repos/cms-sw/cmssw/statuses/05e1a3027e051745fa57aeddff2b47d2c0ee4b2c","head":{"label":"mark-grimes:fixPythonDumpInCmsDriverCleanly","ref":"fixPythonDumpInCmsDriverCleanly","sha":"05e1a3027e051745fa57aeddff2b47d2c0ee4b2c","user":{"login":"mark-grimes","id":6480160,"avatar_url":"https://avatars.githubusercontent.com/u/6480160?v=3","gravatar_id":"","url":"https://api.github.com/users/mark-grimes","html_url":"https://github.com/mark-grimes","followers_url":"https://api.github.com/users/mark-grimes/followers","following_url":"https://api.github.com/users/mark-grimes/following{/other_user}","gists_url":"https://api.github.com/users/mark-grimes/gists{/gist_id}","starred_url":"https://api.github.com/users/mark-grimes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mark-grimes/subscriptions","organizations_url":"https://api.github.com/users/mark-grimes/orgs","repos_url":"https://api.github.com/users/mark-grimes/repos","events_url":"https://api.github.com/users/mark-grimes/events{/privacy}","received_events_url":"https://api.github.com/users/mark-grimes/received_events","type":"User","site_admin":false},"repo":{"id":16170276,"name":"cmssw","full_name":"mark-grimes/cmssw","owner":{"login":"mark-grimes","id":6480160,"avatar_url":"https://avatars.githubusercontent.com/u/6480160?v=3","gravatar_id":"","url":"https://api.github.com/users/mark-grimes","html_url":"https://github.com/mark-grimes","followers_url":"https://api.github.com/users/mark-grimes/followers","following_url":"https://api.github.com/users/mark-grimes/following{/other_user}","gists_url":"https://api.github.com/users/mark-grimes/gists{/gist_id}","starred_url":"https://api.github.com/users/mark-grimes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mark-grimes/subscriptions","organizations_url":"https://api.github.com/users/mark-grimes/orgs","repos_url":"https://api.github.com/users/mark-grimes/repos","events_url":"https://api.github.com/users/mark-grimes/events{/privacy}","received_events_url":"https://api.github.com/users/mark-grimes/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/mark-grimes/cmssw","description":"CMS Offline Software","fork":true,"url":"https://api.github.com/repos/mark-grimes/cmssw","forks_url":"https://api.github.com/repos/mark-grimes/cmssw/forks","keys_url":"https://api.github.com/repos/mark-grimes/cmssw/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mark-grimes/cmssw/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mark-grimes/cmssw/teams","hooks_url":"https://api.github.com/repos/mark-grimes/cmssw/hooks","issue_events_url":"https://api.github.com/repos/mark-grimes/cmssw/issues/events{/number}","events_url":"https://api.github.com/repos/mark-grimes/cmssw/events","assignees_url":"https://api.github.com/repos/mark-grimes/cmssw/assignees{/user}","branches_url":"https://api.github.com/repos/mark-grimes/cmssw/branches{/branch}","tags_url":"https://api.github.com/repos/mark-grimes/cmssw/tags","blobs_url":"https://api.github.com/repos/mark-grimes/cmssw/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mark-grimes/cmssw/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mark-grimes/cmssw/git/refs{/sha}","trees_url":"https://api.github.com/repos/mark-grimes/cmssw/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mark-grimes/cmssw/statuses/{sha}","languages_url":"https://api.github.com/repos/mark-grimes/cmssw/languages","stargazers_url":"https://api.github.com/repos/mark-grimes/cmssw/stargazers","contributors_url":"https://api.github.com/repos/mark-grimes/cmssw/contributors","subscribers_url":"https://api.github.com/repos/mark-grimes/cmssw/subscribers","subscription_url":"https://api.github.com/repos/mark-grimes/cmssw/subscription","commits_url":"https://api.github.com/repos/mark-grimes/cmssw/commits{/sha}","git_commits_url":"https://api.github.com/repos/mark-grimes/cmssw/git/commits{/sha}","comments_url":"https://api.github.com/repos/mark-grimes/cmssw/comments{/number}","issue_comment_url":"https://api.github.com/repos/mark-grimes/cmssw/issues/comments{/number}","contents_url":"https://api.github.com/repos/mark-grimes/cmssw/contents/{+path}","compare_url":"https://api.github.com/repos/mark-grimes/cmssw/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mark-grimes/cmssw/merges","archive_url":"https://api.github.com/repos/mark-grimes/cmssw/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mark-grimes/cmssw/downloads","issues_url":"https://api.github.com/repos/mark-grimes/cmssw/issues{/number}","pulls_url":"https://api.github.com/repos/mark-grimes/cmssw/pulls{/number}","milestones_url":"https://api.github.com/repos/mark-grimes/cmssw/milestones{/number}","notifications_url":"https://api.github.com/repos/mark-grimes/cmssw/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mark-grimes/cmssw/labels{/name}","releases_url":"https://api.github.com/repos/mark-grimes/cmssw/releases{/id}","created_at":"2014-01-23T11:12:57Z","updated_at":"2014-06-24T10:33:04Z","pushed_at":"2015-10-16T07:20:42Z","git_url":"git://github.com/mark-grimes/cmssw.git","ssh_url":"git@github.com:mark-grimes/cmssw.git","clone_url":"https://github.com/mark-grimes/cmssw.git","svn_url":"https://github.com/mark-grimes/cmssw","homepage":"cms-sw.github.io/cmssw","size":809425,"stargazers_count":0,"watchers_count":0,"language":"C++","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"CMSSW_7_0_X"}},"base":{"label":"cms-sw:CMSSW_7_6_X","ref":"CMSSW_7_6_X","sha":"7f785613d78bb2b0e1b7e08a485ef5ecb6c16c6d","user":{"login":"cms-sw","id":3863500,"avatar_url":"https://avatars.githubusercontent.com/u/3863500?v=3","gravatar_id":"","url":"https://api.github.com/users/cms-sw","html_url":"https://github.com/cms-sw","followers_url":"https://api.github.com/users/cms-sw/followers","following_url":"https://api.github.com/users/cms-sw/following{/other_user}","gists_url":"https://api.github.com/users/cms-sw/gists{/gist_id}","starred_url":"https://api.github.com/users/cms-sw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cms-sw/subscriptions","organizations_url":"https://api.github.com/users/cms-sw/orgs","repos_url":"https://api.github.com/users/cms-sw/repos","events_url":"https://api.github.com/users/cms-sw/events{/privacy}","received_events_url":"https://api.github.com/users/cms-sw/received_events","type":"Organization","site_admin":false},"repo":{"id":10969551,"name":"cmssw","full_name":"cms-sw/cmssw","owner":{"login":"cms-sw","id":3863500,"avatar_url":"https://avatars.githubusercontent.com/u/3863500?v=3","gravatar_id":"","url":"https://api.github.com/users/cms-sw","html_url":"https://github.com/cms-sw","followers_url":"https://api.github.com/users/cms-sw/followers","following_url":"https://api.github.com/users/cms-sw/following{/other_user}","gists_url":"https://api.github.com/users/cms-sw/gists{/gist_id}","starred_url":"https://api.github.com/users/cms-sw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cms-sw/subscriptions","organizations_url":"https://api.github.com/users/cms-sw/orgs","repos_url":"https://api.github.com/users/cms-sw/repos","events_url":"https://api.github.com/users/cms-sw/events{/privacy}","received_events_url":"https://api.github.com/users/cms-sw/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/cms-sw/cmssw","description":"CMS Offline Software","fork":false,"url":"https://api.github.com/repos/cms-sw/cmssw","forks_url":"https://api.github.com/repos/cms-sw/cmssw/forks","keys_url":"https://api.github.com/repos/cms-sw/cmssw/keys{/key_id}","collaborators_url":"https://api.github.com/repos/cms-sw/cmssw/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/cms-sw/cmssw/teams","hooks_url":"https://api.github.com/repos/cms-sw/cmssw/hooks","issue_events_url":"https://api.github.com/repos/cms-sw/cmssw/issues/events{/number}","events_url":"https://api.github.com/repos/cms-sw/cmssw/events","assignees_url":"https://api.github.com/repos/cms-sw/cmssw/assignees{/user}","branches_url":"https://api.github.com/repos/cms-sw/cmssw/branches{/branch}","tags_url":"https://api.github.com/repos/cms-sw/cmssw/tags","blobs_url":"https://api.github.com/repos/cms-sw/cmssw/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/cms-sw/cmssw/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/cms-sw/cmssw/git/refs{/sha}","trees_url":"https://api.github.com/repos/cms-sw/cmssw/git/trees{/sha}","statuses_url":"https://api.github.com/repos/cms-sw/cmssw/statuses/{sha}","languages_url":"https://api.github.com/repos/cms-sw/cmssw/languages","stargazers_url":"https://api.github.com/repos/cms-sw/cmssw/stargazers","contributors_url":"https://api.github.com/repos/cms-sw/cmssw/contributors","subscribers_url":"https://api.github.com/repos/cms-sw/cmssw/subscribers","subscription_url":"https://api.github.com/repos/cms-sw/cmssw/subscription","commits_url":"https://api.github.com/repos/cms-sw/cmssw/commits{/sha}","git_commits_url":"https://api.github.com/repos/cms-sw/cmssw/git/commits{/sha}","comments_url":"https://api.github.com/repos/cms-sw/cmssw/comments{/number}","issue_comment_url":"https://api.github.com/repos/cms-sw/cmssw/issues/comments{/number}","contents_url":"https://api.github.com/repos/cms-sw/cmssw/contents/{+path}","compare_url":"https://api.github.com/repos/cms-sw/cmssw/compare/{base}...{head}","merges_url":"https://api.github.com/repos/cms-sw/cmssw/merges","archive_url":"https://api.github.com/repos/cms-sw/cmssw/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/cms-sw/cmssw/downloads","issues_url":"https://api.github.com/repos/cms-sw/cmssw/issues{/number}","pulls_url":"https://api.github.com/repos/cms-sw/cmssw/pulls{/number}","milestones_url":"https://api.github.com/repos/cms-sw/cmssw/milestones{/number}","notifications_url":"https://api.github.com/repos/cms-sw/cmssw/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/cms-sw/cmssw/labels{/name}","releases_url":"https://api.github.com/repos/cms-sw/cmssw/releases{/id}","created_at":"2013-06-26T14:09:07Z","updated_at":"2015-10-14T11:55:27Z","pushed_at":"2015-10-16T20:05:15Z","git_url":"git://github.com/cms-sw/cmssw.git","ssh_url":"git@github.com:cms-sw/cmssw.git","clone_url":"https://github.com/cms-sw/cmssw.git","svn_url":"https://github.com/cms-sw/cmssw","homepage":"http://cms-sw.github.io/","size":1302883,"stargazers_count":265,"watchers_count":265,"language":"C++","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1595,"mirror_url":null,"open_issues_count":280,"forks":1595,"open_issues":280,"watchers":265,"default_branch":"CMSSW_7_6_X"}},"_links":{"self":{"href":"https://api.github.com/repos/cms-sw/cmssw/pulls/11823"},"html":{"href":"https://github.com/cms-sw/cmssw/pull/11823"},"issue":{"href":"https://api.github.com/repos/cms-sw/cmssw/issues/11823"},"comments":{"href":"https://api.github.com/repos/cms-sw/cmssw/issues/11823/comments"},"review_comments":{"href":"https://api.github.com/repos/cms-sw/cmssw/pulls/11823/comments"},"review_comment":{"href":"https://api.github.com/repos/cms-sw/cmssw/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/cms-sw/cmssw/pulls/11823/commits"},"statuses":{"href":"https://api.github.com/repos/cms-sw/cmssw/statuses/05e1a3027e051745fa57aeddff2b47d2c0ee4b2c"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"davidlange6","id":5042883,"avatar_url":"https://avatars.githubusercontent.com/u/5042883?v=3","gravatar_id":"","url":"https://api.github.com/users/davidlange6","html_url":"https://github.com/davidlange6","followers_url":"https://api.github.com/users/davidlange6/followers","following_url":"https://api.github.com/users/davidlange6/following{/other_user}","gists_url":"https://api.github.com/users/davidlange6/gists{/gist_id}","starred_url":"https://api.github.com/users/davidlange6/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/davidlange6/subscriptions","organizations_url":"https://api.github.com/users/davidlange6/orgs","repos_url":"https://api.github.com/users/davidlange6/repos","events_url":"https://api.github.com/users/davidlange6/events{/privacy}","received_events_url":"https://api.github.com/users/davidlange6/received_events","type":"User","site_admin":false},"comments":1,"review_comments":0,"commits":1,"additions":12,"deletions":0,"changed_files":1}}