{"action":"created","comment":{"url":"https://api.github.com/repos/jocelynj/osm/pulls/comments/84579061","pull_request_review_id":5351021,"id":84579061,"diff_hunk":"@@ -0,0 +1,89 @@\n+#!/usr/bin/env python\n+#-*- coding: utf-8 -*-\n+\n+import os,stat,io,hashlib,re\n+\n+class hash_file():\n+  \"\"\" Compute md5 hash from a given file \"\"\"\n+  sDescript = '?'\n+  def __init__(self,fpath):\n+    \"\"\" Read file data to md5 buffer \"\"\"\n+    self.md5 = hashlib.md5()\n+    self.sDescript = fpath\n+    f = io.open(fpath); self.md5.update( f.read() );f.close()","path":"osc_modif/modules/helperLib.py","position":13,"original_position":13,"commit_id":"81697081c93ec9e8839efbdaab350f4183106791","original_commit_id":"81697081c93ec9e8839efbdaab350f4183106791","user":{"login":"jocelynj","id":68169,"avatar_url":"https://avatars.githubusercontent.com/u/68169?v=3","gravatar_id":"","url":"https://api.github.com/users/jocelynj","html_url":"https://github.com/jocelynj","followers_url":"https://api.github.com/users/jocelynj/followers","following_url":"https://api.github.com/users/jocelynj/following{/other_user}","gists_url":"https://api.github.com/users/jocelynj/gists{/gist_id}","starred_url":"https://api.github.com/users/jocelynj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jocelynj/subscriptions","organizations_url":"https://api.github.com/users/jocelynj/orgs","repos_url":"https://api.github.com/users/jocelynj/repos","events_url":"https://api.github.com/users/jocelynj/events{/privacy}","received_events_url":"https://api.github.com/users/jocelynj/received_events","type":"User","site_admin":false},"body":"Are you sure that this syntax works in python ?\r\nIn any case, I would prefer one \"command\" per line","created_at":"2016-10-22T15:31:36Z","updated_at":"2016-10-22T15:31:36Z","html_url":"https://github.com/jocelynj/osm/pull/7#discussion_r84579061","pull_request_url":"https://api.github.com/repos/jocelynj/osm/pulls/7","_links":{"self":{"href":"https://api.github.com/repos/jocelynj/osm/pulls/comments/84579061"},"html":{"href":"https://github.com/jocelynj/osm/pull/7#discussion_r84579061"},"pull_request":{"href":"https://api.github.com/repos/jocelynj/osm/pulls/7"}}},"pull_request":{"url":"https://api.github.com/repos/jocelynj/osm/pulls/7","id":90413857,"html_url":"https://github.com/jocelynj/osm/pull/7","diff_url":"https://github.com/jocelynj/osm/pull/7.diff","patch_url":"https://github.com/jocelynj/osm/pull/7.patch","issue_url":"https://api.github.com/repos/jocelynj/osm/issues/7","number":7,"state":"open","locked":false,"title":"Create helperLib.py","user":{"login":"WK-GiHu","id":22146250,"avatar_url":"https://avatars.githubusercontent.com/u/22146250?v=3","gravatar_id":"","url":"https://api.github.com/users/WK-GiHu","html_url":"https://github.com/WK-GiHu","followers_url":"https://api.github.com/users/WK-GiHu/followers","following_url":"https://api.github.com/users/WK-GiHu/following{/other_user}","gists_url":"https://api.github.com/users/WK-GiHu/gists{/gist_id}","starred_url":"https://api.github.com/users/WK-GiHu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/WK-GiHu/subscriptions","organizations_url":"https://api.github.com/users/WK-GiHu/orgs","repos_url":"https://api.github.com/users/WK-GiHu/repos","events_url":"https://api.github.com/users/WK-GiHu/events{/privacy}","received_events_url":"https://api.github.com/users/WK-GiHu/received_events","type":"User","site_admin":false},"body":"Helper class and def's used in modified osc_modif.py","created_at":"2016-10-21T16:36:06Z","updated_at":"2016-10-22T15:31:36Z","closed_at":null,"merged_at":null,"merge_commit_sha":"2a2861b4508577eadca1fedeed650207cf3003b5","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/jocelynj/osm/pulls/7/commits","review_comments_url":"https://api.github.com/repos/jocelynj/osm/pulls/7/comments","review_comment_url":"https://api.github.com/repos/jocelynj/osm/pulls/comments{/number}","comments_url":"https://api.github.com/repos/jocelynj/osm/issues/7/comments","statuses_url":"https://api.github.com/repos/jocelynj/osm/statuses/81697081c93ec9e8839efbdaab350f4183106791","head":{"label":"WK-GiHu:patch-1","ref":"patch-1","sha":"81697081c93ec9e8839efbdaab350f4183106791","user":{"login":"WK-GiHu","id":22146250,"avatar_url":"https://avatars.githubusercontent.com/u/22146250?v=3","gravatar_id":"","url":"https://api.github.com/users/WK-GiHu","html_url":"https://github.com/WK-GiHu","followers_url":"https://api.github.com/users/WK-GiHu/followers","following_url":"https://api.github.com/users/WK-GiHu/following{/other_user}","gists_url":"https://api.github.com/users/WK-GiHu/gists{/gist_id}","starred_url":"https://api.github.com/users/WK-GiHu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/WK-GiHu/subscriptions","organizations_url":"https://api.github.com/users/WK-GiHu/orgs","repos_url":"https://api.github.com/users/WK-GiHu/repos","events_url":"https://api.github.com/users/WK-GiHu/events{/privacy}","received_events_url":"https://api.github.com/users/WK-GiHu/received_events","type":"User","site_admin":false},"repo":{"id":69896196,"name":"osm","full_name":"WK-GiHu/osm","owner":{"login":"WK-GiHu","id":22146250,"avatar_url":"https://avatars.githubusercontent.com/u/22146250?v=3","gravatar_id":"","url":"https://api.github.com/users/WK-GiHu","html_url":"https://github.com/WK-GiHu","followers_url":"https://api.github.com/users/WK-GiHu/followers","following_url":"https://api.github.com/users/WK-GiHu/following{/other_user}","gists_url":"https://api.github.com/users/WK-GiHu/gists{/gist_id}","starred_url":"https://api.github.com/users/WK-GiHu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/WK-GiHu/subscriptions","organizations_url":"https://api.github.com/users/WK-GiHu/orgs","repos_url":"https://api.github.com/users/WK-GiHu/repos","events_url":"https://api.github.com/users/WK-GiHu/events{/privacy}","received_events_url":"https://api.github.com/users/WK-GiHu/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/WK-GiHu/osm","description":"Scripts for OpenStreetMaps","fork":true,"url":"https://api.github.com/repos/WK-GiHu/osm","forks_url":"https://api.github.com/repos/WK-GiHu/osm/forks","keys_url":"https://api.github.com/repos/WK-GiHu/osm/keys{/key_id}","collaborators_url":"https://api.github.com/repos/WK-GiHu/osm/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/WK-GiHu/osm/teams","hooks_url":"https://api.github.com/repos/WK-GiHu/osm/hooks","issue_events_url":"https://api.github.com/repos/WK-GiHu/osm/issues/events{/number}","events_url":"https://api.github.com/repos/WK-GiHu/osm/events","assignees_url":"https://api.github.com/repos/WK-GiHu/osm/assignees{/user}","branches_url":"https://api.github.com/repos/WK-GiHu/osm/branches{/branch}","tags_url":"https://api.github.com/repos/WK-GiHu/osm/tags","blobs_url":"https://api.github.com/repos/WK-GiHu/osm/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/WK-GiHu/osm/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/WK-GiHu/osm/git/refs{/sha}","trees_url":"https://api.github.com/repos/WK-GiHu/osm/git/trees{/sha}","statuses_url":"https://api.github.com/repos/WK-GiHu/osm/statuses/{sha}","languages_url":"https://api.github.com/repos/WK-GiHu/osm/languages","stargazers_url":"https://api.github.com/repos/WK-GiHu/osm/stargazers","contributors_url":"https://api.github.com/repos/WK-GiHu/osm/contributors","subscribers_url":"https://api.github.com/repos/WK-GiHu/osm/subscribers","subscription_url":"https://api.github.com/repos/WK-GiHu/osm/subscription","commits_url":"https://api.github.com/repos/WK-GiHu/osm/commits{/sha}","git_commits_url":"https://api.github.com/repos/WK-GiHu/osm/git/commits{/sha}","comments_url":"https://api.github.com/repos/WK-GiHu/osm/comments{/number}","issue_comment_url":"https://api.github.com/repos/WK-GiHu/osm/issues/comments{/number}","contents_url":"https://api.github.com/repos/WK-GiHu/osm/contents/{+path}","compare_url":"https://api.github.com/repos/WK-GiHu/osm/compare/{base}...{head}","merges_url":"https://api.github.com/repos/WK-GiHu/osm/merges","archive_url":"https://api.github.com/repos/WK-GiHu/osm/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/WK-GiHu/osm/downloads","issues_url":"https://api.github.com/repos/WK-GiHu/osm/issues{/number}","pulls_url":"https://api.github.com/repos/WK-GiHu/osm/pulls{/number}","milestones_url":"https://api.github.com/repos/WK-GiHu/osm/milestones{/number}","notifications_url":"https://api.github.com/repos/WK-GiHu/osm/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/WK-GiHu/osm/labels{/name}","releases_url":"https://api.github.com/repos/WK-GiHu/osm/releases{/id}","deployments_url":"https://api.github.com/repos/WK-GiHu/osm/deployments","created_at":"2016-10-03T17:59:47Z","updated_at":"2016-10-03T17:59:50Z","pushed_at":"2016-10-21T16:35:30Z","git_url":"git://github.com/WK-GiHu/osm.git","ssh_url":"git@github.com:WK-GiHu/osm.git","clone_url":"https://github.com/WK-GiHu/osm.git","svn_url":"https://github.com/WK-GiHu/osm","homepage":"http://jocelyn.alwaysdata.net/osm/","size":833,"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":"jocelynj:master","ref":"master","sha":"0811c435f79ce23c69ed14ec17ff2636835b7dbb","user":{"login":"jocelynj","id":68169,"avatar_url":"https://avatars.githubusercontent.com/u/68169?v=3","gravatar_id":"","url":"https://api.github.com/users/jocelynj","html_url":"https://github.com/jocelynj","followers_url":"https://api.github.com/users/jocelynj/followers","following_url":"https://api.github.com/users/jocelynj/following{/other_user}","gists_url":"https://api.github.com/users/jocelynj/gists{/gist_id}","starred_url":"https://api.github.com/users/jocelynj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jocelynj/subscriptions","organizations_url":"https://api.github.com/users/jocelynj/orgs","repos_url":"https://api.github.com/users/jocelynj/repos","events_url":"https://api.github.com/users/jocelynj/events{/privacy}","received_events_url":"https://api.github.com/users/jocelynj/received_events","type":"User","site_admin":false},"repo":{"id":859888,"name":"osm","full_name":"jocelynj/osm","owner":{"login":"jocelynj","id":68169,"avatar_url":"https://avatars.githubusercontent.com/u/68169?v=3","gravatar_id":"","url":"https://api.github.com/users/jocelynj","html_url":"https://github.com/jocelynj","followers_url":"https://api.github.com/users/jocelynj/followers","following_url":"https://api.github.com/users/jocelynj/following{/other_user}","gists_url":"https://api.github.com/users/jocelynj/gists{/gist_id}","starred_url":"https://api.github.com/users/jocelynj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jocelynj/subscriptions","organizations_url":"https://api.github.com/users/jocelynj/orgs","repos_url":"https://api.github.com/users/jocelynj/repos","events_url":"https://api.github.com/users/jocelynj/events{/privacy}","received_events_url":"https://api.github.com/users/jocelynj/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jocelynj/osm","description":"Scripts for OpenStreetMaps","fork":false,"url":"https://api.github.com/repos/jocelynj/osm","forks_url":"https://api.github.com/repos/jocelynj/osm/forks","keys_url":"https://api.github.com/repos/jocelynj/osm/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jocelynj/osm/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jocelynj/osm/teams","hooks_url":"https://api.github.com/repos/jocelynj/osm/hooks","issue_events_url":"https://api.github.com/repos/jocelynj/osm/issues/events{/number}","events_url":"https://api.github.com/repos/jocelynj/osm/events","assignees_url":"https://api.github.com/repos/jocelynj/osm/assignees{/user}","branches_url":"https://api.github.com/repos/jocelynj/osm/branches{/branch}","tags_url":"https://api.github.com/repos/jocelynj/osm/tags","blobs_url":"https://api.github.com/repos/jocelynj/osm/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jocelynj/osm/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jocelynj/osm/git/refs{/sha}","trees_url":"https://api.github.com/repos/jocelynj/osm/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jocelynj/osm/statuses/{sha}","languages_url":"https://api.github.com/repos/jocelynj/osm/languages","stargazers_url":"https://api.github.com/repos/jocelynj/osm/stargazers","contributors_url":"https://api.github.com/repos/jocelynj/osm/contributors","subscribers_url":"https://api.github.com/repos/jocelynj/osm/subscribers","subscription_url":"https://api.github.com/repos/jocelynj/osm/subscription","commits_url":"https://api.github.com/repos/jocelynj/osm/commits{/sha}","git_commits_url":"https://api.github.com/repos/jocelynj/osm/git/commits{/sha}","comments_url":"https://api.github.com/repos/jocelynj/osm/comments{/number}","issue_comment_url":"https://api.github.com/repos/jocelynj/osm/issues/comments{/number}","contents_url":"https://api.github.com/repos/jocelynj/osm/contents/{+path}","compare_url":"https://api.github.com/repos/jocelynj/osm/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jocelynj/osm/merges","archive_url":"https://api.github.com/repos/jocelynj/osm/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jocelynj/osm/downloads","issues_url":"https://api.github.com/repos/jocelynj/osm/issues{/number}","pulls_url":"https://api.github.com/repos/jocelynj/osm/pulls{/number}","milestones_url":"https://api.github.com/repos/jocelynj/osm/milestones{/number}","notifications_url":"https://api.github.com/repos/jocelynj/osm/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jocelynj/osm/labels{/name}","releases_url":"https://api.github.com/repos/jocelynj/osm/releases{/id}","deployments_url":"https://api.github.com/repos/jocelynj/osm/deployments","created_at":"2010-08-24T19:36:46Z","updated_at":"2016-10-14T22:33:33Z","pushed_at":"2016-10-21T16:36:06Z","git_url":"git://github.com/jocelynj/osm.git","ssh_url":"git@github.com:jocelynj/osm.git","clone_url":"https://github.com/jocelynj/osm.git","svn_url":"https://github.com/jocelynj/osm","homepage":"http://jocelyn.alwaysdata.net/osm/","size":827,"stargazers_count":3,"watchers_count":3,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":6,"forks":1,"open_issues":6,"watchers":3,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/jocelynj/osm/pulls/7"},"html":{"href":"https://github.com/jocelynj/osm/pull/7"},"issue":{"href":"https://api.github.com/repos/jocelynj/osm/issues/7"},"comments":{"href":"https://api.github.com/repos/jocelynj/osm/issues/7/comments"},"review_comments":{"href":"https://api.github.com/repos/jocelynj/osm/pulls/7/comments"},"review_comment":{"href":"https://api.github.com/repos/jocelynj/osm/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/jocelynj/osm/pulls/7/commits"},"statuses":{"href":"https://api.github.com/repos/jocelynj/osm/statuses/81697081c93ec9e8839efbdaab350f4183106791"}}}}
{"actor":{"display_login":"jocelynj"}}