{"action":"created","issue":{"url":"https://api.github.com/repos/cms-sw/cmssw/issues/7502","labels_url":"https://api.github.com/repos/cms-sw/cmssw/issues/7502/labels{/name}","comments_url":"https://api.github.com/repos/cms-sw/cmssw/issues/7502/comments","events_url":"https://api.github.com/repos/cms-sw/cmssw/issues/7502/events","html_url":"https://github.com/cms-sw/cmssw/pull/7502","id":56253187,"number":7502,"title":"Fix pyroot FWLite getByLabel to reset Wrapper when branch not found","user":{"login":"dan131riley","id":1799196,"avatar_url":"https://avatars.githubusercontent.com/u/1799196?v=3","gravatar_id":"","url":"https://api.github.com/users/dan131riley","html_url":"https://github.com/dan131riley","followers_url":"https://api.github.com/users/dan131riley/followers","following_url":"https://api.github.com/users/dan131riley/following{/other_user}","gists_url":"https://api.github.com/users/dan131riley/gists{/gist_id}","starred_url":"https://api.github.com/users/dan131riley/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dan131riley/subscriptions","organizations_url":"https://api.github.com/users/dan131riley/orgs","repos_url":"https://api.github.com/users/dan131riley/repos","events_url":"https://api.github.com/users/dan131riley/events{/privacy}","received_events_url":"https://api.github.com/users/dan131riley/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/cms-sw/cmssw/labels/comparison-pending","name":"comparison-pending","color":"fef2c0"},{"url":"https://api.github.com/repos/cms-sw/cmssw/labels/core-pending","name":"core-pending","color":"fbca04"},{"url":"https://api.github.com/repos/cms-sw/cmssw/labels/pending-signatures","name":"pending-signatures","color":"eb6420"},{"url":"https://api.github.com/repos/cms-sw/cmssw/labels/tests-pending","name":"tests-pending","color":"fbca04"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/cms-sw/cmssw/milestones/50","labels_url":"https://api.github.com/repos/cms-sw/cmssw/milestones/50/labels","id":875803,"number":50,"title":"Next CMSSW_7_4_X","description":"","creator":{"login":"nclopezo","id":1944922,"avatar_url":"https://avatars.githubusercontent.com/u/1944922?v=3","gravatar_id":"","url":"https://api.github.com/users/nclopezo","html_url":"https://github.com/nclopezo","followers_url":"https://api.github.com/users/nclopezo/followers","following_url":"https://api.github.com/users/nclopezo/following{/other_user}","gists_url":"https://api.github.com/users/nclopezo/gists{/gist_id}","starred_url":"https://api.github.com/users/nclopezo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nclopezo/subscriptions","organizations_url":"https://api.github.com/users/nclopezo/orgs","repos_url":"https://api.github.com/users/nclopezo/repos","events_url":"https://api.github.com/users/nclopezo/events{/privacy}","received_events_url":"https://api.github.com/users/nclopezo/received_events","type":"User","site_admin":false},"open_issues":45,"closed_issues":505,"state":"open","created_at":"2014-11-21T15:23:58Z","updated_at":"2015-02-02T16:09:19Z","due_on":"2015-01-26T08:00:00Z","closed_at":null},"comments":4,"created_at":"2015-02-02T15:52:11Z","updated_at":"2015-02-02T16:55:05Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/cms-sw/cmssw/pulls/7502","html_url":"https://github.com/cms-sw/cmssw/pull/7502","diff_url":"https://github.com/cms-sw/cmssw/pull/7502.diff","patch_url":"https://github.com/cms-sw/cmssw/pull/7502.patch"},"body":"This fixes a bug in the FWLite python bindings, reported here:\r\n\r\nhttps://hypernews.cern.ch/HyperNews/CMS/get/edmFramework/3430.html\r\n\r\nThe bug comes about because the FWLite getByLabel nulls the wrapper when the requested branch isn't found (the comments imply this is intended behavior).  The fix is for the Python getByLabel to check if the wrapper has been nulled and reset it if necessary.  Unit test is included."},"comment":{"url":"https://api.github.com/repos/cms-sw/cmssw/issues/comments/72492321","html_url":"https://github.com/cms-sw/cmssw/pull/7502#issuecomment-72492321","issue_url":"https://api.github.com/repos/cms-sw/cmssw/issues/7502","id":72492321,"user":{"login":"Dr15Jones","id":3757616,"avatar_url":"https://avatars.githubusercontent.com/u/3757616?v=3","gravatar_id":"","url":"https://api.github.com/users/Dr15Jones","html_url":"https://github.com/Dr15Jones","followers_url":"https://api.github.com/users/Dr15Jones/followers","following_url":"https://api.github.com/users/Dr15Jones/following{/other_user}","gists_url":"https://api.github.com/users/Dr15Jones/gists{/gist_id}","starred_url":"https://api.github.com/users/Dr15Jones/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Dr15Jones/subscriptions","organizations_url":"https://api.github.com/users/Dr15Jones/orgs","repos_url":"https://api.github.com/users/Dr15Jones/repos","events_url":"https://api.github.com/users/Dr15Jones/events{/privacy}","received_events_url":"https://api.github.com/users/Dr15Jones/received_events","type":"User","site_admin":false},"created_at":"2015-02-02T16:55:05Z","updated_at":"2015-02-02T16:55:05Z","body":"Thanks Dan."}}