{"action":"created","comment":{"url":"https://api.github.com/repos/IdoO2/pyparse/pulls/comments/37696250","id":37696250,"diff_hunk":"@@ -0,0 +1,158 @@\n+#!/usr/bin/env python3\n+#!-*- coding: utf8 -*-\n+# Author: Cyril RICHARD\n+\n+\"\"\"\n+This File implements a database wrapper.\n+The aim of this wrapper is to normalize database operations.\n+\"\"\"\n+\n+import sqlite3\n+from .conf import *\n+\n+class DBC():\n+\n+    ### CONSTRUCTOR\n+\n+    def __init__(self):\n+        \"\"\"Establish a database connection and execute an environment query\"\"\"","path":"src/parser/db_toolkit.py","position":18,"original_position":18,"commit_id":"327566e5d4bfccf201fed760cccc92c28b315eeb","original_commit_id":"327566e5d4bfccf201fed760cccc92c28b315eeb","user":{"login":"IdoO2","id":4069088,"avatar_url":"https://avatars.githubusercontent.com/u/4069088?v=3","gravatar_id":"","url":"https://api.github.com/users/IdoO2","html_url":"https://github.com/IdoO2","followers_url":"https://api.github.com/users/IdoO2/followers","following_url":"https://api.github.com/users/IdoO2/following{/other_user}","gists_url":"https://api.github.com/users/IdoO2/gists{/gist_id}","starred_url":"https://api.github.com/users/IdoO2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/IdoO2/subscriptions","organizations_url":"https://api.github.com/users/IdoO2/orgs","repos_url":"https://api.github.com/users/IdoO2/repos","events_url":"https://api.github.com/users/IdoO2/events{/privacy}","received_events_url":"https://api.github.com/users/IdoO2/received_events","type":"User","site_admin":false},"body":"Il faut gérer l’erreur sur base absente","created_at":"2015-08-22T14:38:49Z","updated_at":"2015-08-22T14:38:49Z","html_url":"https://github.com/IdoO2/pyparse/pull/17#discussion_r37696250","pull_request_url":"https://api.github.com/repos/IdoO2/pyparse/pulls/17","_links":{"self":{"href":"https://api.github.com/repos/IdoO2/pyparse/pulls/comments/37696250"},"html":{"href":"https://github.com/IdoO2/pyparse/pull/17#discussion_r37696250"},"pull_request":{"href":"https://api.github.com/repos/IdoO2/pyparse/pulls/17"}}},"pull_request":{"url":"https://api.github.com/repos/IdoO2/pyparse/pulls/17","id":43099221,"html_url":"https://github.com/IdoO2/pyparse/pull/17","diff_url":"https://github.com/IdoO2/pyparse/pull/17.diff","patch_url":"https://github.com/IdoO2/pyparse/pull/17.patch","issue_url":"https://api.github.com/repos/IdoO2/pyparse/issues/17","number":17,"state":"open","locked":false,"title":"Dev analyzer","user":{"login":"tuxcy17","id":5435411,"avatar_url":"https://avatars.githubusercontent.com/u/5435411?v=3","gravatar_id":"","url":"https://api.github.com/users/tuxcy17","html_url":"https://github.com/tuxcy17","followers_url":"https://api.github.com/users/tuxcy17/followers","following_url":"https://api.github.com/users/tuxcy17/following{/other_user}","gists_url":"https://api.github.com/users/tuxcy17/gists{/gist_id}","starred_url":"https://api.github.com/users/tuxcy17/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tuxcy17/subscriptions","organizations_url":"https://api.github.com/users/tuxcy17/orgs","repos_url":"https://api.github.com/users/tuxcy17/repos","events_url":"https://api.github.com/users/tuxcy17/events{/privacy}","received_events_url":"https://api.github.com/users/tuxcy17/received_events","type":"User","site_admin":false},"body":"L'analyseur semble marcher sur une dizaine de fichier.\r\nLe support de la syntaxe Python n'est pas parfait ... tout comme Geany\r\nA tester maintenant avec l'interface.","created_at":"2015-08-22T07:15:11Z","updated_at":"2015-08-22T14:38:49Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/IdoO2/pyparse/pulls/17/commits","review_comments_url":"https://api.github.com/repos/IdoO2/pyparse/pulls/17/comments","review_comment_url":"https://api.github.com/repos/IdoO2/pyparse/pulls/comments{/number}","comments_url":"https://api.github.com/repos/IdoO2/pyparse/issues/17/comments","statuses_url":"https://api.github.com/repos/IdoO2/pyparse/statuses/327566e5d4bfccf201fed760cccc92c28b315eeb","head":{"label":"IdoO2:dev-analyzer","ref":"dev-analyzer","sha":"327566e5d4bfccf201fed760cccc92c28b315eeb","user":{"login":"IdoO2","id":4069088,"avatar_url":"https://avatars.githubusercontent.com/u/4069088?v=3","gravatar_id":"","url":"https://api.github.com/users/IdoO2","html_url":"https://github.com/IdoO2","followers_url":"https://api.github.com/users/IdoO2/followers","following_url":"https://api.github.com/users/IdoO2/following{/other_user}","gists_url":"https://api.github.com/users/IdoO2/gists{/gist_id}","starred_url":"https://api.github.com/users/IdoO2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/IdoO2/subscriptions","organizations_url":"https://api.github.com/users/IdoO2/orgs","repos_url":"https://api.github.com/users/IdoO2/repos","events_url":"https://api.github.com/users/IdoO2/events{/privacy}","received_events_url":"https://api.github.com/users/IdoO2/received_events","type":"User","site_admin":false},"repo":{"id":37975366,"name":"pyparse","full_name":"IdoO2/pyparse","owner":{"login":"IdoO2","id":4069088,"avatar_url":"https://avatars.githubusercontent.com/u/4069088?v=3","gravatar_id":"","url":"https://api.github.com/users/IdoO2","html_url":"https://github.com/IdoO2","followers_url":"https://api.github.com/users/IdoO2/followers","following_url":"https://api.github.com/users/IdoO2/following{/other_user}","gists_url":"https://api.github.com/users/IdoO2/gists{/gist_id}","starred_url":"https://api.github.com/users/IdoO2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/IdoO2/subscriptions","organizations_url":"https://api.github.com/users/IdoO2/orgs","repos_url":"https://api.github.com/users/IdoO2/repos","events_url":"https://api.github.com/users/IdoO2/events{/privacy}","received_events_url":"https://api.github.com/users/IdoO2/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/IdoO2/pyparse","description":"Various tests","fork":false,"url":"https://api.github.com/repos/IdoO2/pyparse","forks_url":"https://api.github.com/repos/IdoO2/pyparse/forks","keys_url":"https://api.github.com/repos/IdoO2/pyparse/keys{/key_id}","collaborators_url":"https://api.github.com/repos/IdoO2/pyparse/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/IdoO2/pyparse/teams","hooks_url":"https://api.github.com/repos/IdoO2/pyparse/hooks","issue_events_url":"https://api.github.com/repos/IdoO2/pyparse/issues/events{/number}","events_url":"https://api.github.com/repos/IdoO2/pyparse/events","assignees_url":"https://api.github.com/repos/IdoO2/pyparse/assignees{/user}","branches_url":"https://api.github.com/repos/IdoO2/pyparse/branches{/branch}","tags_url":"https://api.github.com/repos/IdoO2/pyparse/tags","blobs_url":"https://api.github.com/repos/IdoO2/pyparse/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/IdoO2/pyparse/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/IdoO2/pyparse/git/refs{/sha}","trees_url":"https://api.github.com/repos/IdoO2/pyparse/git/trees{/sha}","statuses_url":"https://api.github.com/repos/IdoO2/pyparse/statuses/{sha}","languages_url":"https://api.github.com/repos/IdoO2/pyparse/languages","stargazers_url":"https://api.github.com/repos/IdoO2/pyparse/stargazers","contributors_url":"https://api.github.com/repos/IdoO2/pyparse/contributors","subscribers_url":"https://api.github.com/repos/IdoO2/pyparse/subscribers","subscription_url":"https://api.github.com/repos/IdoO2/pyparse/subscription","commits_url":"https://api.github.com/repos/IdoO2/pyparse/commits{/sha}","git_commits_url":"https://api.github.com/repos/IdoO2/pyparse/git/commits{/sha}","comments_url":"https://api.github.com/repos/IdoO2/pyparse/comments{/number}","issue_comment_url":"https://api.github.com/repos/IdoO2/pyparse/issues/comments{/number}","contents_url":"https://api.github.com/repos/IdoO2/pyparse/contents/{+path}","compare_url":"https://api.github.com/repos/IdoO2/pyparse/compare/{base}...{head}","merges_url":"https://api.github.com/repos/IdoO2/pyparse/merges","archive_url":"https://api.github.com/repos/IdoO2/pyparse/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/IdoO2/pyparse/downloads","issues_url":"https://api.github.com/repos/IdoO2/pyparse/issues{/number}","pulls_url":"https://api.github.com/repos/IdoO2/pyparse/pulls{/number}","milestones_url":"https://api.github.com/repos/IdoO2/pyparse/milestones{/number}","notifications_url":"https://api.github.com/repos/IdoO2/pyparse/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/IdoO2/pyparse/labels{/name}","releases_url":"https://api.github.com/repos/IdoO2/pyparse/releases{/id}","created_at":"2015-06-24T09:29:57Z","updated_at":"2015-06-24T09:33:50Z","pushed_at":"2015-08-22T07:15:12Z","git_url":"git://github.com/IdoO2/pyparse.git","ssh_url":"git@github.com:IdoO2/pyparse.git","clone_url":"https://github.com/IdoO2/pyparse.git","svn_url":"https://github.com/IdoO2/pyparse","homepage":null,"size":268,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"IdoO2:master","ref":"master","sha":"b0eedfda7c7f0f900301392285dddc27d297330b","user":{"login":"IdoO2","id":4069088,"avatar_url":"https://avatars.githubusercontent.com/u/4069088?v=3","gravatar_id":"","url":"https://api.github.com/users/IdoO2","html_url":"https://github.com/IdoO2","followers_url":"https://api.github.com/users/IdoO2/followers","following_url":"https://api.github.com/users/IdoO2/following{/other_user}","gists_url":"https://api.github.com/users/IdoO2/gists{/gist_id}","starred_url":"https://api.github.com/users/IdoO2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/IdoO2/subscriptions","organizations_url":"https://api.github.com/users/IdoO2/orgs","repos_url":"https://api.github.com/users/IdoO2/repos","events_url":"https://api.github.com/users/IdoO2/events{/privacy}","received_events_url":"https://api.github.com/users/IdoO2/received_events","type":"User","site_admin":false},"repo":{"id":37975366,"name":"pyparse","full_name":"IdoO2/pyparse","owner":{"login":"IdoO2","id":4069088,"avatar_url":"https://avatars.githubusercontent.com/u/4069088?v=3","gravatar_id":"","url":"https://api.github.com/users/IdoO2","html_url":"https://github.com/IdoO2","followers_url":"https://api.github.com/users/IdoO2/followers","following_url":"https://api.github.com/users/IdoO2/following{/other_user}","gists_url":"https://api.github.com/users/IdoO2/gists{/gist_id}","starred_url":"https://api.github.com/users/IdoO2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/IdoO2/subscriptions","organizations_url":"https://api.github.com/users/IdoO2/orgs","repos_url":"https://api.github.com/users/IdoO2/repos","events_url":"https://api.github.com/users/IdoO2/events{/privacy}","received_events_url":"https://api.github.com/users/IdoO2/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/IdoO2/pyparse","description":"Various tests","fork":false,"url":"https://api.github.com/repos/IdoO2/pyparse","forks_url":"https://api.github.com/repos/IdoO2/pyparse/forks","keys_url":"https://api.github.com/repos/IdoO2/pyparse/keys{/key_id}","collaborators_url":"https://api.github.com/repos/IdoO2/pyparse/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/IdoO2/pyparse/teams","hooks_url":"https://api.github.com/repos/IdoO2/pyparse/hooks","issue_events_url":"https://api.github.com/repos/IdoO2/pyparse/issues/events{/number}","events_url":"https://api.github.com/repos/IdoO2/pyparse/events","assignees_url":"https://api.github.com/repos/IdoO2/pyparse/assignees{/user}","branches_url":"https://api.github.com/repos/IdoO2/pyparse/branches{/branch}","tags_url":"https://api.github.com/repos/IdoO2/pyparse/tags","blobs_url":"https://api.github.com/repos/IdoO2/pyparse/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/IdoO2/pyparse/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/IdoO2/pyparse/git/refs{/sha}","trees_url":"https://api.github.com/repos/IdoO2/pyparse/git/trees{/sha}","statuses_url":"https://api.github.com/repos/IdoO2/pyparse/statuses/{sha}","languages_url":"https://api.github.com/repos/IdoO2/pyparse/languages","stargazers_url":"https://api.github.com/repos/IdoO2/pyparse/stargazers","contributors_url":"https://api.github.com/repos/IdoO2/pyparse/contributors","subscribers_url":"https://api.github.com/repos/IdoO2/pyparse/subscribers","subscription_url":"https://api.github.com/repos/IdoO2/pyparse/subscription","commits_url":"https://api.github.com/repos/IdoO2/pyparse/commits{/sha}","git_commits_url":"https://api.github.com/repos/IdoO2/pyparse/git/commits{/sha}","comments_url":"https://api.github.com/repos/IdoO2/pyparse/comments{/number}","issue_comment_url":"https://api.github.com/repos/IdoO2/pyparse/issues/comments{/number}","contents_url":"https://api.github.com/repos/IdoO2/pyparse/contents/{+path}","compare_url":"https://api.github.com/repos/IdoO2/pyparse/compare/{base}...{head}","merges_url":"https://api.github.com/repos/IdoO2/pyparse/merges","archive_url":"https://api.github.com/repos/IdoO2/pyparse/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/IdoO2/pyparse/downloads","issues_url":"https://api.github.com/repos/IdoO2/pyparse/issues{/number}","pulls_url":"https://api.github.com/repos/IdoO2/pyparse/pulls{/number}","milestones_url":"https://api.github.com/repos/IdoO2/pyparse/milestones{/number}","notifications_url":"https://api.github.com/repos/IdoO2/pyparse/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/IdoO2/pyparse/labels{/name}","releases_url":"https://api.github.com/repos/IdoO2/pyparse/releases{/id}","created_at":"2015-06-24T09:29:57Z","updated_at":"2015-06-24T09:33:50Z","pushed_at":"2015-08-22T07:15:12Z","git_url":"git://github.com/IdoO2/pyparse.git","ssh_url":"git@github.com:IdoO2/pyparse.git","clone_url":"https://github.com/IdoO2/pyparse.git","svn_url":"https://github.com/IdoO2/pyparse","homepage":null,"size":268,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/IdoO2/pyparse/pulls/17"},"html":{"href":"https://github.com/IdoO2/pyparse/pull/17"},"issue":{"href":"https://api.github.com/repos/IdoO2/pyparse/issues/17"},"comments":{"href":"https://api.github.com/repos/IdoO2/pyparse/issues/17/comments"},"review_comments":{"href":"https://api.github.com/repos/IdoO2/pyparse/pulls/17/comments"},"review_comment":{"href":"https://api.github.com/repos/IdoO2/pyparse/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/IdoO2/pyparse/pulls/17/commits"},"statuses":{"href":"https://api.github.com/repos/IdoO2/pyparse/statuses/327566e5d4bfccf201fed760cccc92c28b315eeb"}}}}