{"action":"created","issue":{"url":"https://api.github.com/repos/grantbrown/laspy/issues/29","labels_url":"https://api.github.com/repos/grantbrown/laspy/issues/29/labels{/name}","comments_url":"https://api.github.com/repos/grantbrown/laspy/issues/29/comments","events_url":"https://api.github.com/repos/grantbrown/laspy/issues/29/events","html_url":"https://github.com/grantbrown/laspy/pull/29","id":78887113,"number":29,"title":"Fixed bug opening files without write permission","user":{"login":"danclewley","id":4453490,"avatar_url":"https://avatars.githubusercontent.com/u/4453490?v=3","gravatar_id":"","url":"https://api.github.com/users/danclewley","html_url":"https://github.com/danclewley","followers_url":"https://api.github.com/users/danclewley/followers","following_url":"https://api.github.com/users/danclewley/following{/other_user}","gists_url":"https://api.github.com/users/danclewley/gists{/gist_id}","starred_url":"https://api.github.com/users/danclewley/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danclewley/subscriptions","organizations_url":"https://api.github.com/users/danclewley/orgs","repos_url":"https://api.github.com/users/danclewley/repos","events_url":"https://api.github.com/users/danclewley/events{/privacy}","received_events_url":"https://api.github.com/users/danclewley/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-05-21T08:21:24Z","updated_at":"2015-05-21T13:43:30Z","closed_at":"2015-05-21T13:43:15Z","pull_request":{"url":"https://api.github.com/repos/grantbrown/laspy/pulls/29","html_url":"https://github.com/grantbrown/laspy/pull/29","diff_url":"https://github.com/grantbrown/laspy/pull/29.diff","patch_url":"https://github.com/grantbrown/laspy/pull/29.patch"},"body":"By default if 'r' or 'rw' mode was requested files were being opened in append mode. This caused problems for files without write access in 'r' mode. \r\n\r\nHave updated so if 'r' mode is requested will only open file in read mode by modifying 'setup_read_write' to add a read_only flag."},"comment":{"url":"https://api.github.com/repos/grantbrown/laspy/issues/comments/104281592","html_url":"https://github.com/grantbrown/laspy/pull/29#issuecomment-104281592","issue_url":"https://api.github.com/repos/grantbrown/laspy/issues/29","id":104281592,"user":{"login":"grantbrown","id":1713575,"avatar_url":"https://avatars.githubusercontent.com/u/1713575?v=3","gravatar_id":"","url":"https://api.github.com/users/grantbrown","html_url":"https://github.com/grantbrown","followers_url":"https://api.github.com/users/grantbrown/followers","following_url":"https://api.github.com/users/grantbrown/following{/other_user}","gists_url":"https://api.github.com/users/grantbrown/gists{/gist_id}","starred_url":"https://api.github.com/users/grantbrown/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/grantbrown/subscriptions","organizations_url":"https://api.github.com/users/grantbrown/orgs","repos_url":"https://api.github.com/users/grantbrown/repos","events_url":"https://api.github.com/users/grantbrown/events{/privacy}","received_events_url":"https://api.github.com/users/grantbrown/received_events","type":"User","site_admin":false},"created_at":"2015-05-21T13:43:30Z","updated_at":"2015-05-21T13:43:30Z","body":"Good catch, thanks. "}}