{"action":"created","comment":{"url":"https://api.github.com/repos/camptocamp/oerpscenario/pulls/comments/34238712","id":34238712,"diff_hunk":"@@ -74,34 +97,57 @@ def impl(ctx, model_name, csvfile):\n     path = os.path.join(*tmp_path)\n     assert os.path.exists(path)\n     sep = options.get('delimiter', ',')\n+    strict = str2bool(options.get('strict', 'false'))\n     data = csv.reader(open(path, 'rb'), delimiter=str(sep))\n     head = data.next()\n     # generator does not work\n     values = [x for x in data]","path":"features/steps/tools.py","position":96,"original_position":96,"commit_id":"f9f0a82cce2ca9fd7d851b53bf6b164cb3d25e85","original_commit_id":"f9f0a82cce2ca9fd7d851b53bf6b164cb3d25e85","user":{"login":"charbeljc","id":11244811,"avatar_url":"https://avatars.githubusercontent.com/u/11244811?v=3","gravatar_id":"","url":"https://api.github.com/users/charbeljc","html_url":"https://github.com/charbeljc","followers_url":"https://api.github.com/users/charbeljc/followers","following_url":"https://api.github.com/users/charbeljc/following{/other_user}","gists_url":"https://api.github.com/users/charbeljc/gists{/gist_id}","starred_url":"https://api.github.com/users/charbeljc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/charbeljc/subscriptions","organizations_url":"https://api.github.com/users/charbeljc/orgs","repos_url":"https://api.github.com/users/charbeljc/repos","events_url":"https://api.github.com/users/charbeljc/events{/privacy}","received_events_url":"https://api.github.com/users/charbeljc/received_events","type":"User","site_admin":false},"body":"right","created_at":"2015-07-09T09:40:33Z","updated_at":"2015-07-09T09:40:33Z","html_url":"https://github.com/camptocamp/oerpscenario/pull/27#discussion_r34238712","pull_request_url":"https://api.github.com/repos/camptocamp/oerpscenario/pulls/27","_links":{"self":{"href":"https://api.github.com/repos/camptocamp/oerpscenario/pulls/comments/34238712"},"html":{"href":"https://github.com/camptocamp/oerpscenario/pull/27#discussion_r34238712"},"pull_request":{"href":"https://api.github.com/repos/camptocamp/oerpscenario/pulls/27"}}},"pull_request":{"url":"https://api.github.com/repos/camptocamp/oerpscenario/pulls/27","id":39563924,"html_url":"https://github.com/camptocamp/oerpscenario/pull/27","diff_url":"https://github.com/camptocamp/oerpscenario/pull/27.diff","patch_url":"https://github.com/camptocamp/oerpscenario/pull/27.patch","issue_url":"https://api.github.com/repos/camptocamp/oerpscenario/issues/27","number":27,"state":"open","locked":false,"title":"refactor behave steps","user":{"login":"charbeljc","id":11244811,"avatar_url":"https://avatars.githubusercontent.com/u/11244811?v=3","gravatar_id":"","url":"https://api.github.com/users/charbeljc","html_url":"https://github.com/charbeljc","followers_url":"https://api.github.com/users/charbeljc/followers","following_url":"https://api.github.com/users/charbeljc/following{/other_user}","gists_url":"https://api.github.com/users/charbeljc/gists{/gist_id}","starred_url":"https://api.github.com/users/charbeljc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/charbeljc/subscriptions","organizations_url":"https://api.github.com/users/charbeljc/orgs","repos_url":"https://api.github.com/users/charbeljc/repos","events_url":"https://api.github.com/users/charbeljc/events{/privacy}","received_events_url":"https://api.github.com/users/charbeljc/received_events","type":"User","site_admin":false},"body":"* add a 'strict' option to csv import to check that all data are loaded\r\n* give access to imported objects in the following steps","created_at":"2015-07-09T09:30:01Z","updated_at":"2015-07-09T09:40:33Z","closed_at":null,"merged_at":null,"merge_commit_sha":"fae279ea0be5873b8380c635f711e583a8bfadba","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/camptocamp/oerpscenario/pulls/27/commits","review_comments_url":"https://api.github.com/repos/camptocamp/oerpscenario/pulls/27/comments","review_comment_url":"https://api.github.com/repos/camptocamp/oerpscenario/pulls/comments{/number}","comments_url":"https://api.github.com/repos/camptocamp/oerpscenario/issues/27/comments","statuses_url":"https://api.github.com/repos/camptocamp/oerpscenario/statuses/f9f0a82cce2ca9fd7d851b53bf6b164cb3d25e85","head":{"label":"charbeljc:extended-csv-import","ref":"extended-csv-import","sha":"f9f0a82cce2ca9fd7d851b53bf6b164cb3d25e85","user":{"login":"charbeljc","id":11244811,"avatar_url":"https://avatars.githubusercontent.com/u/11244811?v=3","gravatar_id":"","url":"https://api.github.com/users/charbeljc","html_url":"https://github.com/charbeljc","followers_url":"https://api.github.com/users/charbeljc/followers","following_url":"https://api.github.com/users/charbeljc/following{/other_user}","gists_url":"https://api.github.com/users/charbeljc/gists{/gist_id}","starred_url":"https://api.github.com/users/charbeljc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/charbeljc/subscriptions","organizations_url":"https://api.github.com/users/charbeljc/orgs","repos_url":"https://api.github.com/users/charbeljc/repos","events_url":"https://api.github.com/users/charbeljc/events{/privacy}","received_events_url":"https://api.github.com/users/charbeljc/received_events","type":"User","site_admin":false},"repo":{"id":38703581,"name":"oerpscenario","full_name":"charbeljc/oerpscenario","owner":{"login":"charbeljc","id":11244811,"avatar_url":"https://avatars.githubusercontent.com/u/11244811?v=3","gravatar_id":"","url":"https://api.github.com/users/charbeljc","html_url":"https://github.com/charbeljc","followers_url":"https://api.github.com/users/charbeljc/followers","following_url":"https://api.github.com/users/charbeljc/following{/other_user}","gists_url":"https://api.github.com/users/charbeljc/gists{/gist_id}","starred_url":"https://api.github.com/users/charbeljc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/charbeljc/subscriptions","organizations_url":"https://api.github.com/users/charbeljc/orgs","repos_url":"https://api.github.com/users/charbeljc/repos","events_url":"https://api.github.com/users/charbeljc/events{/privacy}","received_events_url":"https://api.github.com/users/charbeljc/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/charbeljc/oerpscenario","description":"Business Driven Development (BDD) for OpenERP/Odoo","fork":true,"url":"https://api.github.com/repos/charbeljc/oerpscenario","forks_url":"https://api.github.com/repos/charbeljc/oerpscenario/forks","keys_url":"https://api.github.com/repos/charbeljc/oerpscenario/keys{/key_id}","collaborators_url":"https://api.github.com/repos/charbeljc/oerpscenario/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/charbeljc/oerpscenario/teams","hooks_url":"https://api.github.com/repos/charbeljc/oerpscenario/hooks","issue_events_url":"https://api.github.com/repos/charbeljc/oerpscenario/issues/events{/number}","events_url":"https://api.github.com/repos/charbeljc/oerpscenario/events","assignees_url":"https://api.github.com/repos/charbeljc/oerpscenario/assignees{/user}","branches_url":"https://api.github.com/repos/charbeljc/oerpscenario/branches{/branch}","tags_url":"https://api.github.com/repos/charbeljc/oerpscenario/tags","blobs_url":"https://api.github.com/repos/charbeljc/oerpscenario/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/charbeljc/oerpscenario/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/charbeljc/oerpscenario/git/refs{/sha}","trees_url":"https://api.github.com/repos/charbeljc/oerpscenario/git/trees{/sha}","statuses_url":"https://api.github.com/repos/charbeljc/oerpscenario/statuses/{sha}","languages_url":"https://api.github.com/repos/charbeljc/oerpscenario/languages","stargazers_url":"https://api.github.com/repos/charbeljc/oerpscenario/stargazers","contributors_url":"https://api.github.com/repos/charbeljc/oerpscenario/contributors","subscribers_url":"https://api.github.com/repos/charbeljc/oerpscenario/subscribers","subscription_url":"https://api.github.com/repos/charbeljc/oerpscenario/subscription","commits_url":"https://api.github.com/repos/charbeljc/oerpscenario/commits{/sha}","git_commits_url":"https://api.github.com/repos/charbeljc/oerpscenario/git/commits{/sha}","comments_url":"https://api.github.com/repos/charbeljc/oerpscenario/comments{/number}","issue_comment_url":"https://api.github.com/repos/charbeljc/oerpscenario/issues/comments{/number}","contents_url":"https://api.github.com/repos/charbeljc/oerpscenario/contents/{+path}","compare_url":"https://api.github.com/repos/charbeljc/oerpscenario/compare/{base}...{head}","merges_url":"https://api.github.com/repos/charbeljc/oerpscenario/merges","archive_url":"https://api.github.com/repos/charbeljc/oerpscenario/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/charbeljc/oerpscenario/downloads","issues_url":"https://api.github.com/repos/charbeljc/oerpscenario/issues{/number}","pulls_url":"https://api.github.com/repos/charbeljc/oerpscenario/pulls{/number}","milestones_url":"https://api.github.com/repos/charbeljc/oerpscenario/milestones{/number}","notifications_url":"https://api.github.com/repos/charbeljc/oerpscenario/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/charbeljc/oerpscenario/labels{/name}","releases_url":"https://api.github.com/repos/charbeljc/oerpscenario/releases{/id}","created_at":"2015-07-07T17:27:36Z","updated_at":"2015-07-07T17:27:37Z","pushed_at":"2015-07-09T09:26:34Z","git_url":"git://github.com/charbeljc/oerpscenario.git","ssh_url":"git@github.com:charbeljc/oerpscenario.git","clone_url":"https://github.com/charbeljc/oerpscenario.git","svn_url":"https://github.com/charbeljc/oerpscenario","homepage":null,"size":2174,"stargazers_count":0,"watchers_count":0,"language":"Cucumber","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":"camptocamp:master","ref":"master","sha":"4505083ee9cb76f2d41570e4458ede78c8c0a70a","user":{"login":"camptocamp","id":28109,"avatar_url":"https://avatars.githubusercontent.com/u/28109?v=3","gravatar_id":"","url":"https://api.github.com/users/camptocamp","html_url":"https://github.com/camptocamp","followers_url":"https://api.github.com/users/camptocamp/followers","following_url":"https://api.github.com/users/camptocamp/following{/other_user}","gists_url":"https://api.github.com/users/camptocamp/gists{/gist_id}","starred_url":"https://api.github.com/users/camptocamp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/camptocamp/subscriptions","organizations_url":"https://api.github.com/users/camptocamp/orgs","repos_url":"https://api.github.com/users/camptocamp/repos","events_url":"https://api.github.com/users/camptocamp/events{/privacy}","received_events_url":"https://api.github.com/users/camptocamp/received_events","type":"Organization","site_admin":false},"repo":{"id":23428142,"name":"oerpscenario","full_name":"camptocamp/oerpscenario","owner":{"login":"camptocamp","id":28109,"avatar_url":"https://avatars.githubusercontent.com/u/28109?v=3","gravatar_id":"","url":"https://api.github.com/users/camptocamp","html_url":"https://github.com/camptocamp","followers_url":"https://api.github.com/users/camptocamp/followers","following_url":"https://api.github.com/users/camptocamp/following{/other_user}","gists_url":"https://api.github.com/users/camptocamp/gists{/gist_id}","starred_url":"https://api.github.com/users/camptocamp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/camptocamp/subscriptions","organizations_url":"https://api.github.com/users/camptocamp/orgs","repos_url":"https://api.github.com/users/camptocamp/repos","events_url":"https://api.github.com/users/camptocamp/events{/privacy}","received_events_url":"https://api.github.com/users/camptocamp/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/camptocamp/oerpscenario","description":"Business Driven Development (BDD) for OpenERP/Odoo","fork":false,"url":"https://api.github.com/repos/camptocamp/oerpscenario","forks_url":"https://api.github.com/repos/camptocamp/oerpscenario/forks","keys_url":"https://api.github.com/repos/camptocamp/oerpscenario/keys{/key_id}","collaborators_url":"https://api.github.com/repos/camptocamp/oerpscenario/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/camptocamp/oerpscenario/teams","hooks_url":"https://api.github.com/repos/camptocamp/oerpscenario/hooks","issue_events_url":"https://api.github.com/repos/camptocamp/oerpscenario/issues/events{/number}","events_url":"https://api.github.com/repos/camptocamp/oerpscenario/events","assignees_url":"https://api.github.com/repos/camptocamp/oerpscenario/assignees{/user}","branches_url":"https://api.github.com/repos/camptocamp/oerpscenario/branches{/branch}","tags_url":"https://api.github.com/repos/camptocamp/oerpscenario/tags","blobs_url":"https://api.github.com/repos/camptocamp/oerpscenario/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/camptocamp/oerpscenario/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/camptocamp/oerpscenario/git/refs{/sha}","trees_url":"https://api.github.com/repos/camptocamp/oerpscenario/git/trees{/sha}","statuses_url":"https://api.github.com/repos/camptocamp/oerpscenario/statuses/{sha}","languages_url":"https://api.github.com/repos/camptocamp/oerpscenario/languages","stargazers_url":"https://api.github.com/repos/camptocamp/oerpscenario/stargazers","contributors_url":"https://api.github.com/repos/camptocamp/oerpscenario/contributors","subscribers_url":"https://api.github.com/repos/camptocamp/oerpscenario/subscribers","subscription_url":"https://api.github.com/repos/camptocamp/oerpscenario/subscription","commits_url":"https://api.github.com/repos/camptocamp/oerpscenario/commits{/sha}","git_commits_url":"https://api.github.com/repos/camptocamp/oerpscenario/git/commits{/sha}","comments_url":"https://api.github.com/repos/camptocamp/oerpscenario/comments{/number}","issue_comment_url":"https://api.github.com/repos/camptocamp/oerpscenario/issues/comments{/number}","contents_url":"https://api.github.com/repos/camptocamp/oerpscenario/contents/{+path}","compare_url":"https://api.github.com/repos/camptocamp/oerpscenario/compare/{base}...{head}","merges_url":"https://api.github.com/repos/camptocamp/oerpscenario/merges","archive_url":"https://api.github.com/repos/camptocamp/oerpscenario/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/camptocamp/oerpscenario/downloads","issues_url":"https://api.github.com/repos/camptocamp/oerpscenario/issues{/number}","pulls_url":"https://api.github.com/repos/camptocamp/oerpscenario/pulls{/number}","milestones_url":"https://api.github.com/repos/camptocamp/oerpscenario/milestones{/number}","notifications_url":"https://api.github.com/repos/camptocamp/oerpscenario/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/camptocamp/oerpscenario/labels{/name}","releases_url":"https://api.github.com/repos/camptocamp/oerpscenario/releases{/id}","created_at":"2014-08-28T13:04:51Z","updated_at":"2015-06-11T07:42:40Z","pushed_at":"2015-07-09T09:30:01Z","git_url":"git://github.com/camptocamp/oerpscenario.git","ssh_url":"git@github.com:camptocamp/oerpscenario.git","clone_url":"https://github.com/camptocamp/oerpscenario.git","svn_url":"https://github.com/camptocamp/oerpscenario","homepage":null,"size":2378,"stargazers_count":12,"watchers_count":12,"language":"Cucumber","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":14,"mirror_url":null,"open_issues_count":9,"forks":14,"open_issues":9,"watchers":12,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/camptocamp/oerpscenario/pulls/27"},"html":{"href":"https://github.com/camptocamp/oerpscenario/pull/27"},"issue":{"href":"https://api.github.com/repos/camptocamp/oerpscenario/issues/27"},"comments":{"href":"https://api.github.com/repos/camptocamp/oerpscenario/issues/27/comments"},"review_comments":{"href":"https://api.github.com/repos/camptocamp/oerpscenario/pulls/27/comments"},"review_comment":{"href":"https://api.github.com/repos/camptocamp/oerpscenario/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/camptocamp/oerpscenario/pulls/27/commits"},"statuses":{"href":"https://api.github.com/repos/camptocamp/oerpscenario/statuses/f9f0a82cce2ca9fd7d851b53bf6b164cb3d25e85"}}}}