{"action":"created","comment":{"url":"https://api.github.com/repos/OpenSCAP/openscap-daemon/pulls/comments/43094451","id":43094451,"diff_hunk":"@@ -332,13 +403,39 @@ def confirm(prompt):\n     sys.stderr.write(\"Operation aborted.\\n\")\n     return False\n \n-\n-\n def main():\n     parser = argparse.ArgumentParser(\n         description=\"OpenSCAP-Daemon command line interface.\"\n     )\n     subparsers = parser.add_subparsers()\n+    task_accessor = Task_accessor()\n+\n+    dbus_iface = None\n+    try:\n+        dbus_iface = get_dbus_interface()","path":"bin/oscapd-cli","position":118,"original_position":118,"commit_id":"34af081c95836daa5f8ba30630bacd6fd4d604cf","original_commit_id":"34af081c95836daa5f8ba30630bacd6fd4d604cf","user":{"login":"ybznek","id":2564361,"avatar_url":"https://avatars.githubusercontent.com/u/2564361?v=3","gravatar_id":"","url":"https://api.github.com/users/ybznek","html_url":"https://github.com/ybznek","followers_url":"https://api.github.com/users/ybznek/followers","following_url":"https://api.github.com/users/ybznek/following{/other_user}","gists_url":"https://api.github.com/users/ybznek/gists{/gist_id}","starred_url":"https://api.github.com/users/ybznek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ybznek/subscriptions","organizations_url":"https://api.github.com/users/ybznek/orgs","repos_url":"https://api.github.com/users/ybznek/repos","events_url":"https://api.github.com/users/ybznek/events{/privacy}","received_events_url":"https://api.github.com/users/ybznek/received_events","type":"User","site_admin":false},"body":"Thanks for your feedback. It will be fixed in next commit.","created_at":"2015-10-27T08:40:49Z","updated_at":"2015-10-27T08:40:49Z","html_url":"https://github.com/OpenSCAP/openscap-daemon/pull/23#discussion_r43094451","pull_request_url":"https://api.github.com/repos/OpenSCAP/openscap-daemon/pulls/23","_links":{"self":{"href":"https://api.github.com/repos/OpenSCAP/openscap-daemon/pulls/comments/43094451"},"html":{"href":"https://github.com/OpenSCAP/openscap-daemon/pull/23#discussion_r43094451"},"pull_request":{"href":"https://api.github.com/repos/OpenSCAP/openscap-daemon/pulls/23"}}},"pull_request":{"url":"https://api.github.com/repos/OpenSCAP/openscap-daemon/pulls/23","id":48588346,"html_url":"https://github.com/OpenSCAP/openscap-daemon/pull/23","diff_url":"https://github.com/OpenSCAP/openscap-daemon/pull/23.diff","patch_url":"https://github.com/OpenSCAP/openscap-daemon/pull/23.patch","issue_url":"https://api.github.com/repos/OpenSCAP/openscap-daemon/issues/23","number":23,"state":"open","locked":false,"title":"oscapd-cli add task setters [do not merge]","user":{"login":"ybznek","id":2564361,"avatar_url":"https://avatars.githubusercontent.com/u/2564361?v=3","gravatar_id":"","url":"https://api.github.com/users/ybznek","html_url":"https://github.com/ybznek","followers_url":"https://api.github.com/users/ybznek/followers","following_url":"https://api.github.com/users/ybznek/following{/other_user}","gists_url":"https://api.github.com/users/ybznek/gists{/gist_id}","starred_url":"https://api.github.com/users/ybznek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ybznek/subscriptions","organizations_url":"https://api.github.com/users/ybznek/orgs","repos_url":"https://api.github.com/users/ybznek/repos","events_url":"https://api.github.com/users/ybznek/events{/privacy}","received_events_url":"https://api.github.com/users/ybznek/received_events","type":"User","site_admin":false},"body":"I was trying to add interface to make adding getters/setters easier.\r\n\r\nIf you have better solution/idea for this problem, please share it.\r\n\r\nIt should support setters from https://github.com/OpenSCAP/openscap-daemon/issues/16","created_at":"2015-10-23T14:43:03Z","updated_at":"2015-10-27T08:40:49Z","closed_at":null,"merged_at":null,"merge_commit_sha":"88807dd389423459ea07e4396c7d58eb9b1ac624","assignee":null,"milestone":{"url":"https://api.github.com/repos/OpenSCAP/openscap-daemon/milestones/2","html_url":"https://github.com/OpenSCAP/openscap-daemon/milestones/0.1.1","labels_url":"https://api.github.com/repos/OpenSCAP/openscap-daemon/milestones/2/labels","id":1359670,"number":2,"title":"0.1.1","description":"","creator":{"login":"mpreisler","id":753153,"avatar_url":"https://avatars.githubusercontent.com/u/753153?v=3","gravatar_id":"","url":"https://api.github.com/users/mpreisler","html_url":"https://github.com/mpreisler","followers_url":"https://api.github.com/users/mpreisler/followers","following_url":"https://api.github.com/users/mpreisler/following{/other_user}","gists_url":"https://api.github.com/users/mpreisler/gists{/gist_id}","starred_url":"https://api.github.com/users/mpreisler/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mpreisler/subscriptions","organizations_url":"https://api.github.com/users/mpreisler/orgs","repos_url":"https://api.github.com/users/mpreisler/repos","events_url":"https://api.github.com/users/mpreisler/events{/privacy}","received_events_url":"https://api.github.com/users/mpreisler/received_events","type":"User","site_admin":false},"open_issues":3,"closed_issues":3,"state":"open","created_at":"2015-10-16T15:03:28Z","updated_at":"2015-10-26T15:21:06Z","due_on":null,"closed_at":null},"commits_url":"https://api.github.com/repos/OpenSCAP/openscap-daemon/pulls/23/commits","review_comments_url":"https://api.github.com/repos/OpenSCAP/openscap-daemon/pulls/23/comments","review_comment_url":"https://api.github.com/repos/OpenSCAP/openscap-daemon/pulls/comments{/number}","comments_url":"https://api.github.com/repos/OpenSCAP/openscap-daemon/issues/23/comments","statuses_url":"https://api.github.com/repos/OpenSCAP/openscap-daemon/statuses/34af081c95836daa5f8ba30630bacd6fd4d604cf","head":{"label":"ybznek:master-changing-task-properties","ref":"master-changing-task-properties","sha":"34af081c95836daa5f8ba30630bacd6fd4d604cf","user":{"login":"ybznek","id":2564361,"avatar_url":"https://avatars.githubusercontent.com/u/2564361?v=3","gravatar_id":"","url":"https://api.github.com/users/ybznek","html_url":"https://github.com/ybznek","followers_url":"https://api.github.com/users/ybznek/followers","following_url":"https://api.github.com/users/ybznek/following{/other_user}","gists_url":"https://api.github.com/users/ybznek/gists{/gist_id}","starred_url":"https://api.github.com/users/ybznek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ybznek/subscriptions","organizations_url":"https://api.github.com/users/ybznek/orgs","repos_url":"https://api.github.com/users/ybznek/repos","events_url":"https://api.github.com/users/ybznek/events{/privacy}","received_events_url":"https://api.github.com/users/ybznek/received_events","type":"User","site_admin":false},"repo":{"id":44372428,"name":"openscap-daemon","full_name":"ybznek/openscap-daemon","owner":{"login":"ybznek","id":2564361,"avatar_url":"https://avatars.githubusercontent.com/u/2564361?v=3","gravatar_id":"","url":"https://api.github.com/users/ybznek","html_url":"https://github.com/ybznek","followers_url":"https://api.github.com/users/ybznek/followers","following_url":"https://api.github.com/users/ybznek/following{/other_user}","gists_url":"https://api.github.com/users/ybznek/gists{/gist_id}","starred_url":"https://api.github.com/users/ybznek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ybznek/subscriptions","organizations_url":"https://api.github.com/users/ybznek/orgs","repos_url":"https://api.github.com/users/ybznek/repos","events_url":"https://api.github.com/users/ybznek/events{/privacy}","received_events_url":"https://api.github.com/users/ybznek/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ybznek/openscap-daemon","description":"Manages continuous scans of your infrastructure","fork":true,"url":"https://api.github.com/repos/ybznek/openscap-daemon","forks_url":"https://api.github.com/repos/ybznek/openscap-daemon/forks","keys_url":"https://api.github.com/repos/ybznek/openscap-daemon/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ybznek/openscap-daemon/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ybznek/openscap-daemon/teams","hooks_url":"https://api.github.com/repos/ybznek/openscap-daemon/hooks","issue_events_url":"https://api.github.com/repos/ybznek/openscap-daemon/issues/events{/number}","events_url":"https://api.github.com/repos/ybznek/openscap-daemon/events","assignees_url":"https://api.github.com/repos/ybznek/openscap-daemon/assignees{/user}","branches_url":"https://api.github.com/repos/ybznek/openscap-daemon/branches{/branch}","tags_url":"https://api.github.com/repos/ybznek/openscap-daemon/tags","blobs_url":"https://api.github.com/repos/ybznek/openscap-daemon/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ybznek/openscap-daemon/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ybznek/openscap-daemon/git/refs{/sha}","trees_url":"https://api.github.com/repos/ybznek/openscap-daemon/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ybznek/openscap-daemon/statuses/{sha}","languages_url":"https://api.github.com/repos/ybznek/openscap-daemon/languages","stargazers_url":"https://api.github.com/repos/ybznek/openscap-daemon/stargazers","contributors_url":"https://api.github.com/repos/ybznek/openscap-daemon/contributors","subscribers_url":"https://api.github.com/repos/ybznek/openscap-daemon/subscribers","subscription_url":"https://api.github.com/repos/ybznek/openscap-daemon/subscription","commits_url":"https://api.github.com/repos/ybznek/openscap-daemon/commits{/sha}","git_commits_url":"https://api.github.com/repos/ybznek/openscap-daemon/git/commits{/sha}","comments_url":"https://api.github.com/repos/ybznek/openscap-daemon/comments{/number}","issue_comment_url":"https://api.github.com/repos/ybznek/openscap-daemon/issues/comments{/number}","contents_url":"https://api.github.com/repos/ybznek/openscap-daemon/contents/{+path}","compare_url":"https://api.github.com/repos/ybznek/openscap-daemon/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ybznek/openscap-daemon/merges","archive_url":"https://api.github.com/repos/ybznek/openscap-daemon/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ybznek/openscap-daemon/downloads","issues_url":"https://api.github.com/repos/ybznek/openscap-daemon/issues{/number}","pulls_url":"https://api.github.com/repos/ybznek/openscap-daemon/pulls{/number}","milestones_url":"https://api.github.com/repos/ybznek/openscap-daemon/milestones{/number}","notifications_url":"https://api.github.com/repos/ybznek/openscap-daemon/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ybznek/openscap-daemon/labels{/name}","releases_url":"https://api.github.com/repos/ybznek/openscap-daemon/releases{/id}","created_at":"2015-10-16T08:29:00Z","updated_at":"2015-10-16T08:29:01Z","pushed_at":"2015-10-26T09:15:10Z","git_url":"git://github.com/ybznek/openscap-daemon.git","ssh_url":"git@github.com:ybznek/openscap-daemon.git","clone_url":"https://github.com/ybznek/openscap-daemon.git","svn_url":"https://github.com/ybznek/openscap-daemon","homepage":"http://open-scap.org","size":483,"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":"OpenSCAP:master","ref":"master","sha":"5c5fdb2cbf47f3c5ad7e5c3a2c5f3da822a6ba0e","user":{"login":"OpenSCAP","id":7439934,"avatar_url":"https://avatars.githubusercontent.com/u/7439934?v=3","gravatar_id":"","url":"https://api.github.com/users/OpenSCAP","html_url":"https://github.com/OpenSCAP","followers_url":"https://api.github.com/users/OpenSCAP/followers","following_url":"https://api.github.com/users/OpenSCAP/following{/other_user}","gists_url":"https://api.github.com/users/OpenSCAP/gists{/gist_id}","starred_url":"https://api.github.com/users/OpenSCAP/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/OpenSCAP/subscriptions","organizations_url":"https://api.github.com/users/OpenSCAP/orgs","repos_url":"https://api.github.com/users/OpenSCAP/repos","events_url":"https://api.github.com/users/OpenSCAP/events{/privacy}","received_events_url":"https://api.github.com/users/OpenSCAP/received_events","type":"Organization","site_admin":false},"repo":{"id":39902670,"name":"openscap-daemon","full_name":"OpenSCAP/openscap-daemon","owner":{"login":"OpenSCAP","id":7439934,"avatar_url":"https://avatars.githubusercontent.com/u/7439934?v=3","gravatar_id":"","url":"https://api.github.com/users/OpenSCAP","html_url":"https://github.com/OpenSCAP","followers_url":"https://api.github.com/users/OpenSCAP/followers","following_url":"https://api.github.com/users/OpenSCAP/following{/other_user}","gists_url":"https://api.github.com/users/OpenSCAP/gists{/gist_id}","starred_url":"https://api.github.com/users/OpenSCAP/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/OpenSCAP/subscriptions","organizations_url":"https://api.github.com/users/OpenSCAP/orgs","repos_url":"https://api.github.com/users/OpenSCAP/repos","events_url":"https://api.github.com/users/OpenSCAP/events{/privacy}","received_events_url":"https://api.github.com/users/OpenSCAP/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/OpenSCAP/openscap-daemon","description":"Manages continuous scans of your infrastructure","fork":false,"url":"https://api.github.com/repos/OpenSCAP/openscap-daemon","forks_url":"https://api.github.com/repos/OpenSCAP/openscap-daemon/forks","keys_url":"https://api.github.com/repos/OpenSCAP/openscap-daemon/keys{/key_id}","collaborators_url":"https://api.github.com/repos/OpenSCAP/openscap-daemon/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/OpenSCAP/openscap-daemon/teams","hooks_url":"https://api.github.com/repos/OpenSCAP/openscap-daemon/hooks","issue_events_url":"https://api.github.com/repos/OpenSCAP/openscap-daemon/issues/events{/number}","events_url":"https://api.github.com/repos/OpenSCAP/openscap-daemon/events","assignees_url":"https://api.github.com/repos/OpenSCAP/openscap-daemon/assignees{/user}","branches_url":"https://api.github.com/repos/OpenSCAP/openscap-daemon/branches{/branch}","tags_url":"https://api.github.com/repos/OpenSCAP/openscap-daemon/tags","blobs_url":"https://api.github.com/repos/OpenSCAP/openscap-daemon/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/OpenSCAP/openscap-daemon/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/OpenSCAP/openscap-daemon/git/refs{/sha}","trees_url":"https://api.github.com/repos/OpenSCAP/openscap-daemon/git/trees{/sha}","statuses_url":"https://api.github.com/repos/OpenSCAP/openscap-daemon/statuses/{sha}","languages_url":"https://api.github.com/repos/OpenSCAP/openscap-daemon/languages","stargazers_url":"https://api.github.com/repos/OpenSCAP/openscap-daemon/stargazers","contributors_url":"https://api.github.com/repos/OpenSCAP/openscap-daemon/contributors","subscribers_url":"https://api.github.com/repos/OpenSCAP/openscap-daemon/subscribers","subscription_url":"https://api.github.com/repos/OpenSCAP/openscap-daemon/subscription","commits_url":"https://api.github.com/repos/OpenSCAP/openscap-daemon/commits{/sha}","git_commits_url":"https://api.github.com/repos/OpenSCAP/openscap-daemon/git/commits{/sha}","comments_url":"https://api.github.com/repos/OpenSCAP/openscap-daemon/comments{/number}","issue_comment_url":"https://api.github.com/repos/OpenSCAP/openscap-daemon/issues/comments{/number}","contents_url":"https://api.github.com/repos/OpenSCAP/openscap-daemon/contents/{+path}","compare_url":"https://api.github.com/repos/OpenSCAP/openscap-daemon/compare/{base}...{head}","merges_url":"https://api.github.com/repos/OpenSCAP/openscap-daemon/merges","archive_url":"https://api.github.com/repos/OpenSCAP/openscap-daemon/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/OpenSCAP/openscap-daemon/downloads","issues_url":"https://api.github.com/repos/OpenSCAP/openscap-daemon/issues{/number}","pulls_url":"https://api.github.com/repos/OpenSCAP/openscap-daemon/pulls{/number}","milestones_url":"https://api.github.com/repos/OpenSCAP/openscap-daemon/milestones{/number}","notifications_url":"https://api.github.com/repos/OpenSCAP/openscap-daemon/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/OpenSCAP/openscap-daemon/labels{/name}","releases_url":"https://api.github.com/repos/OpenSCAP/openscap-daemon/releases{/id}","created_at":"2015-07-29T15:59:15Z","updated_at":"2015-10-06T11:38:25Z","pushed_at":"2015-10-26T14:59:05Z","git_url":"git://github.com/OpenSCAP/openscap-daemon.git","ssh_url":"git@github.com:OpenSCAP/openscap-daemon.git","clone_url":"https://github.com/OpenSCAP/openscap-daemon.git","svn_url":"https://github.com/OpenSCAP/openscap-daemon","homepage":"http://open-scap.org","size":682,"stargazers_count":3,"watchers_count":3,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"open_issues_count":11,"forks":3,"open_issues":11,"watchers":3,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/OpenSCAP/openscap-daemon/pulls/23"},"html":{"href":"https://github.com/OpenSCAP/openscap-daemon/pull/23"},"issue":{"href":"https://api.github.com/repos/OpenSCAP/openscap-daemon/issues/23"},"comments":{"href":"https://api.github.com/repos/OpenSCAP/openscap-daemon/issues/23/comments"},"review_comments":{"href":"https://api.github.com/repos/OpenSCAP/openscap-daemon/pulls/23/comments"},"review_comment":{"href":"https://api.github.com/repos/OpenSCAP/openscap-daemon/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/OpenSCAP/openscap-daemon/pulls/23/commits"},"statuses":{"href":"https://api.github.com/repos/OpenSCAP/openscap-daemon/statuses/34af081c95836daa5f8ba30630bacd6fd4d604cf"}}}}