{"action":"created","comment":{"url":"https://api.github.com/repos/yandex/yandex-tank/pulls/comments/61557505","id":61557505,"diff_hunk":"@@ -1,12 +1,14 @@\n # -*- coding: utf-8 -*-\n \"\"\" Provides class to run TankCore from python \"\"\"\n-from yandextank.core import tankcore\n import logging\n-from pkg_resources import resource_filename\n import os\n import sys\n import time\n import traceback\n+import fnmatch\n+from pkg_resources import resource_filename\n+\n+from ..core import tankcore","path":"yandextank/api/apiworker.py","position":13,"original_position":13,"commit_id":"5b7f8b946f22ca253aa7fb263f193a5fddd494bd","original_commit_id":"5b7f8b946f22ca253aa7fb263f193a5fddd494bd","user":{"login":"undera","id":2026469,"avatar_url":"https://avatars.githubusercontent.com/u/2026469?v=3","gravatar_id":"","url":"https://api.github.com/users/undera","html_url":"https://github.com/undera","followers_url":"https://api.github.com/users/undera/followers","following_url":"https://api.github.com/users/undera/following{/other_user}","gists_url":"https://api.github.com/users/undera/gists{/gist_id}","starred_url":"https://api.github.com/users/undera/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/undera/subscriptions","organizations_url":"https://api.github.com/users/undera/orgs","repos_url":"https://api.github.com/users/undera/repos","events_url":"https://api.github.com/users/undera/events{/privacy}","received_events_url":"https://api.github.com/users/undera/received_events","type":"User","site_admin":false},"body":"http://stackoverflow.com/questions/4209641/absolute-vs-explicit-relative-import-of-python-module","created_at":"2016-04-29T10:12:42Z","updated_at":"2016-04-29T10:12:42Z","html_url":"https://github.com/yandex/yandex-tank/pull/219#discussion_r61557505","pull_request_url":"https://api.github.com/repos/yandex/yandex-tank/pulls/219","_links":{"self":{"href":"https://api.github.com/repos/yandex/yandex-tank/pulls/comments/61557505"},"html":{"href":"https://github.com/yandex/yandex-tank/pull/219#discussion_r61557505"},"pull_request":{"href":"https://api.github.com/repos/yandex/yandex-tank/pulls/219"}}},"pull_request":{"url":"https://api.github.com/repos/yandex/yandex-tank/pulls/219","id":68340436,"html_url":"https://github.com/yandex/yandex-tank/pull/219","diff_url":"https://github.com/yandex/yandex-tank/pull/219.diff","patch_url":"https://github.com/yandex/yandex-tank/pull/219.patch","issue_url":"https://api.github.com/repos/yandex/yandex-tank/issues/219","number":219,"state":"open","locked":false,"title":"core reorganization. import/core cleanup","user":{"login":"netortik","id":6357129,"avatar_url":"https://avatars.githubusercontent.com/u/6357129?v=3","gravatar_id":"","url":"https://api.github.com/users/netortik","html_url":"https://github.com/netortik","followers_url":"https://api.github.com/users/netortik/followers","following_url":"https://api.github.com/users/netortik/following{/other_user}","gists_url":"https://api.github.com/users/netortik/gists{/gist_id}","starred_url":"https://api.github.com/users/netortik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/netortik/subscriptions","organizations_url":"https://api.github.com/users/netortik/orgs","repos_url":"https://api.github.com/users/netortik/repos","events_url":"https://api.github.com/users/netortik/events{/privacy}","received_events_url":"https://api.github.com/users/netortik/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-04-29T08:45:39Z","updated_at":"2016-04-29T10:12:42Z","closed_at":null,"merged_at":null,"merge_commit_sha":"d7552e332fbe4ddf0730751f07a3b36728afa726","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/yandex/yandex-tank/pulls/219/commits","review_comments_url":"https://api.github.com/repos/yandex/yandex-tank/pulls/219/comments","review_comment_url":"https://api.github.com/repos/yandex/yandex-tank/pulls/comments{/number}","comments_url":"https://api.github.com/repos/yandex/yandex-tank/issues/219/comments","statuses_url":"https://api.github.com/repos/yandex/yandex-tank/statuses/5b7f8b946f22ca253aa7fb263f193a5fddd494bd","head":{"label":"netortik:interfaces","ref":"interfaces","sha":"5b7f8b946f22ca253aa7fb263f193a5fddd494bd","user":{"login":"netortik","id":6357129,"avatar_url":"https://avatars.githubusercontent.com/u/6357129?v=3","gravatar_id":"","url":"https://api.github.com/users/netortik","html_url":"https://github.com/netortik","followers_url":"https://api.github.com/users/netortik/followers","following_url":"https://api.github.com/users/netortik/following{/other_user}","gists_url":"https://api.github.com/users/netortik/gists{/gist_id}","starred_url":"https://api.github.com/users/netortik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/netortik/subscriptions","organizations_url":"https://api.github.com/users/netortik/orgs","repos_url":"https://api.github.com/users/netortik/repos","events_url":"https://api.github.com/users/netortik/events{/privacy}","received_events_url":"https://api.github.com/users/netortik/received_events","type":"User","site_admin":false},"repo":{"id":15760098,"name":"yandex-tank","full_name":"netortik/yandex-tank","owner":{"login":"netortik","id":6357129,"avatar_url":"https://avatars.githubusercontent.com/u/6357129?v=3","gravatar_id":"","url":"https://api.github.com/users/netortik","html_url":"https://github.com/netortik","followers_url":"https://api.github.com/users/netortik/followers","following_url":"https://api.github.com/users/netortik/following{/other_user}","gists_url":"https://api.github.com/users/netortik/gists{/gist_id}","starred_url":"https://api.github.com/users/netortik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/netortik/subscriptions","organizations_url":"https://api.github.com/users/netortik/orgs","repos_url":"https://api.github.com/users/netortik/repos","events_url":"https://api.github.com/users/netortik/events{/privacy}","received_events_url":"https://api.github.com/users/netortik/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/netortik/yandex-tank","description":"Load and performance benchmark tool","fork":true,"url":"https://api.github.com/repos/netortik/yandex-tank","forks_url":"https://api.github.com/repos/netortik/yandex-tank/forks","keys_url":"https://api.github.com/repos/netortik/yandex-tank/keys{/key_id}","collaborators_url":"https://api.github.com/repos/netortik/yandex-tank/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/netortik/yandex-tank/teams","hooks_url":"https://api.github.com/repos/netortik/yandex-tank/hooks","issue_events_url":"https://api.github.com/repos/netortik/yandex-tank/issues/events{/number}","events_url":"https://api.github.com/repos/netortik/yandex-tank/events","assignees_url":"https://api.github.com/repos/netortik/yandex-tank/assignees{/user}","branches_url":"https://api.github.com/repos/netortik/yandex-tank/branches{/branch}","tags_url":"https://api.github.com/repos/netortik/yandex-tank/tags","blobs_url":"https://api.github.com/repos/netortik/yandex-tank/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/netortik/yandex-tank/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/netortik/yandex-tank/git/refs{/sha}","trees_url":"https://api.github.com/repos/netortik/yandex-tank/git/trees{/sha}","statuses_url":"https://api.github.com/repos/netortik/yandex-tank/statuses/{sha}","languages_url":"https://api.github.com/repos/netortik/yandex-tank/languages","stargazers_url":"https://api.github.com/repos/netortik/yandex-tank/stargazers","contributors_url":"https://api.github.com/repos/netortik/yandex-tank/contributors","subscribers_url":"https://api.github.com/repos/netortik/yandex-tank/subscribers","subscription_url":"https://api.github.com/repos/netortik/yandex-tank/subscription","commits_url":"https://api.github.com/repos/netortik/yandex-tank/commits{/sha}","git_commits_url":"https://api.github.com/repos/netortik/yandex-tank/git/commits{/sha}","comments_url":"https://api.github.com/repos/netortik/yandex-tank/comments{/number}","issue_comment_url":"https://api.github.com/repos/netortik/yandex-tank/issues/comments{/number}","contents_url":"https://api.github.com/repos/netortik/yandex-tank/contents/{+path}","compare_url":"https://api.github.com/repos/netortik/yandex-tank/compare/{base}...{head}","merges_url":"https://api.github.com/repos/netortik/yandex-tank/merges","archive_url":"https://api.github.com/repos/netortik/yandex-tank/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/netortik/yandex-tank/downloads","issues_url":"https://api.github.com/repos/netortik/yandex-tank/issues{/number}","pulls_url":"https://api.github.com/repos/netortik/yandex-tank/pulls{/number}","milestones_url":"https://api.github.com/repos/netortik/yandex-tank/milestones{/number}","notifications_url":"https://api.github.com/repos/netortik/yandex-tank/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/netortik/yandex-tank/labels{/name}","releases_url":"https://api.github.com/repos/netortik/yandex-tank/releases{/id}","deployments_url":"https://api.github.com/repos/netortik/yandex-tank/deployments","created_at":"2014-01-09T07:50:32Z","updated_at":"2015-04-15T12:40:26Z","pushed_at":"2016-04-29T08:44:50Z","git_url":"git://github.com/netortik/yandex-tank.git","ssh_url":"git@github.com:netortik/yandex-tank.git","clone_url":"https://github.com/netortik/yandex-tank.git","svn_url":"https://github.com/netortik/yandex-tank","homepage":null,"size":19741,"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":"yandex:master","ref":"master","sha":"51a40b4b30462585683cc10faf0a8ba629dd8f56","user":{"login":"yandex","id":7409213,"avatar_url":"https://avatars.githubusercontent.com/u/7409213?v=3","gravatar_id":"","url":"https://api.github.com/users/yandex","html_url":"https://github.com/yandex","followers_url":"https://api.github.com/users/yandex/followers","following_url":"https://api.github.com/users/yandex/following{/other_user}","gists_url":"https://api.github.com/users/yandex/gists{/gist_id}","starred_url":"https://api.github.com/users/yandex/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yandex/subscriptions","organizations_url":"https://api.github.com/users/yandex/orgs","repos_url":"https://api.github.com/users/yandex/repos","events_url":"https://api.github.com/users/yandex/events{/privacy}","received_events_url":"https://api.github.com/users/yandex/received_events","type":"Organization","site_admin":false},"repo":{"id":5150693,"name":"yandex-tank","full_name":"yandex/yandex-tank","owner":{"login":"yandex","id":7409213,"avatar_url":"https://avatars.githubusercontent.com/u/7409213?v=3","gravatar_id":"","url":"https://api.github.com/users/yandex","html_url":"https://github.com/yandex","followers_url":"https://api.github.com/users/yandex/followers","following_url":"https://api.github.com/users/yandex/following{/other_user}","gists_url":"https://api.github.com/users/yandex/gists{/gist_id}","starred_url":"https://api.github.com/users/yandex/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yandex/subscriptions","organizations_url":"https://api.github.com/users/yandex/orgs","repos_url":"https://api.github.com/users/yandex/repos","events_url":"https://api.github.com/users/yandex/events{/privacy}","received_events_url":"https://api.github.com/users/yandex/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/yandex/yandex-tank","description":"Load and performance benchmark tool","fork":false,"url":"https://api.github.com/repos/yandex/yandex-tank","forks_url":"https://api.github.com/repos/yandex/yandex-tank/forks","keys_url":"https://api.github.com/repos/yandex/yandex-tank/keys{/key_id}","collaborators_url":"https://api.github.com/repos/yandex/yandex-tank/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/yandex/yandex-tank/teams","hooks_url":"https://api.github.com/repos/yandex/yandex-tank/hooks","issue_events_url":"https://api.github.com/repos/yandex/yandex-tank/issues/events{/number}","events_url":"https://api.github.com/repos/yandex/yandex-tank/events","assignees_url":"https://api.github.com/repos/yandex/yandex-tank/assignees{/user}","branches_url":"https://api.github.com/repos/yandex/yandex-tank/branches{/branch}","tags_url":"https://api.github.com/repos/yandex/yandex-tank/tags","blobs_url":"https://api.github.com/repos/yandex/yandex-tank/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/yandex/yandex-tank/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/yandex/yandex-tank/git/refs{/sha}","trees_url":"https://api.github.com/repos/yandex/yandex-tank/git/trees{/sha}","statuses_url":"https://api.github.com/repos/yandex/yandex-tank/statuses/{sha}","languages_url":"https://api.github.com/repos/yandex/yandex-tank/languages","stargazers_url":"https://api.github.com/repos/yandex/yandex-tank/stargazers","contributors_url":"https://api.github.com/repos/yandex/yandex-tank/contributors","subscribers_url":"https://api.github.com/repos/yandex/yandex-tank/subscribers","subscription_url":"https://api.github.com/repos/yandex/yandex-tank/subscription","commits_url":"https://api.github.com/repos/yandex/yandex-tank/commits{/sha}","git_commits_url":"https://api.github.com/repos/yandex/yandex-tank/git/commits{/sha}","comments_url":"https://api.github.com/repos/yandex/yandex-tank/comments{/number}","issue_comment_url":"https://api.github.com/repos/yandex/yandex-tank/issues/comments{/number}","contents_url":"https://api.github.com/repos/yandex/yandex-tank/contents/{+path}","compare_url":"https://api.github.com/repos/yandex/yandex-tank/compare/{base}...{head}","merges_url":"https://api.github.com/repos/yandex/yandex-tank/merges","archive_url":"https://api.github.com/repos/yandex/yandex-tank/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/yandex/yandex-tank/downloads","issues_url":"https://api.github.com/repos/yandex/yandex-tank/issues{/number}","pulls_url":"https://api.github.com/repos/yandex/yandex-tank/pulls{/number}","milestones_url":"https://api.github.com/repos/yandex/yandex-tank/milestones{/number}","notifications_url":"https://api.github.com/repos/yandex/yandex-tank/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/yandex/yandex-tank/labels{/name}","releases_url":"https://api.github.com/repos/yandex/yandex-tank/releases{/id}","deployments_url":"https://api.github.com/repos/yandex/yandex-tank/deployments","created_at":"2012-07-23T11:05:58Z","updated_at":"2016-04-28T13:01:27Z","pushed_at":"2016-04-29T08:45:39Z","git_url":"git://github.com/yandex/yandex-tank.git","ssh_url":"git@github.com:yandex/yandex-tank.git","clone_url":"https://github.com/yandex/yandex-tank.git","svn_url":"https://github.com/yandex/yandex-tank","homepage":null,"size":4257,"stargazers_count":839,"watchers_count":839,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":85,"mirror_url":null,"open_issues_count":23,"forks":85,"open_issues":23,"watchers":839,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/yandex/yandex-tank/pulls/219"},"html":{"href":"https://github.com/yandex/yandex-tank/pull/219"},"issue":{"href":"https://api.github.com/repos/yandex/yandex-tank/issues/219"},"comments":{"href":"https://api.github.com/repos/yandex/yandex-tank/issues/219/comments"},"review_comments":{"href":"https://api.github.com/repos/yandex/yandex-tank/pulls/219/comments"},"review_comment":{"href":"https://api.github.com/repos/yandex/yandex-tank/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/yandex/yandex-tank/pulls/219/commits"},"statuses":{"href":"https://api.github.com/repos/yandex/yandex-tank/statuses/5b7f8b946f22ca253aa7fb263f193a5fddd494bd"}}}}