{"action":"created","issue":{"url":"https://api.github.com/repos/libindic/normalizer/issues/3","labels_url":"https://api.github.com/repos/libindic/normalizer/issues/3/labels{/name}","comments_url":"https://api.github.com/repos/libindic/normalizer/issues/3/comments","events_url":"https://api.github.com/repos/libindic/normalizer/issues/3/events","html_url":"https://github.com/libindic/normalizer/pull/3","id":98709973,"number":3,"title":"autopep8, print(), unicode only for py < 2","user":{"login":"asdofindia","id":945777,"avatar_url":"https://avatars.githubusercontent.com/u/945777?v=3","gravatar_id":"","url":"https://api.github.com/users/asdofindia","html_url":"https://github.com/asdofindia","followers_url":"https://api.github.com/users/asdofindia/followers","following_url":"https://api.github.com/users/asdofindia/following{/other_user}","gists_url":"https://api.github.com/users/asdofindia/gists{/gist_id}","starred_url":"https://api.github.com/users/asdofindia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/asdofindia/subscriptions","organizations_url":"https://api.github.com/users/asdofindia/orgs","repos_url":"https://api.github.com/users/asdofindia/repos","events_url":"https://api.github.com/users/asdofindia/events{/privacy}","received_events_url":"https://api.github.com/users/asdofindia/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-08-03T09:56:41Z","updated_at":"2015-08-10T06:34:33Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/libindic/normalizer/pulls/3","html_url":"https://github.com/libindic/normalizer/pull/3","diff_url":"https://github.com/libindic/normalizer/pull/3.diff","patch_url":"https://github.com/libindic/normalizer/pull/3.patch"},"body":"I've done these things:\r\n```\r\n$ autopep8 --in-place normalizer/core.py\r\n```\r\nConverted all print statements to print function calls\r\n\r\nAdded a if sys.version_info[0] < 3 check before calling unicode function on reading lines from rules. Because python3 takes care of unicode by itself.\r\n"},"comment":{"url":"https://api.github.com/repos/libindic/normalizer/issues/comments/129322927","html_url":"https://github.com/libindic/normalizer/pull/3#issuecomment-129322927","issue_url":"https://api.github.com/repos/libindic/normalizer/issues/3","id":129322927,"user":{"login":"asdofindia","id":945777,"avatar_url":"https://avatars.githubusercontent.com/u/945777?v=3","gravatar_id":"","url":"https://api.github.com/users/asdofindia","html_url":"https://github.com/asdofindia","followers_url":"https://api.github.com/users/asdofindia/followers","following_url":"https://api.github.com/users/asdofindia/following{/other_user}","gists_url":"https://api.github.com/users/asdofindia/gists{/gist_id}","starred_url":"https://api.github.com/users/asdofindia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/asdofindia/subscriptions","organizations_url":"https://api.github.com/users/asdofindia/orgs","repos_url":"https://api.github.com/users/asdofindia/repos","events_url":"https://api.github.com/users/asdofindia/events{/privacy}","received_events_url":"https://api.github.com/users/asdofindia/received_events","type":"User","site_admin":false},"created_at":"2015-08-10T06:34:33Z","updated_at":"2015-08-10T06:34:33Z","body":"I've done something slightly stupid here. I didn't actually autopep8 --in-place, rather redirected the output to a file and then moved it to core.py. So it has unset the +x and changed the file mode. I think I'll change the mode back to +x"}}